Comments (3)
Hi @johnf thanks so much for opening this issue!
I see exactly what you are talking about with postgres support for the macro is not possible at the moment. However, you do call out a good point with how dbt_utils handles this currently for postgres. To adjust this macro to allow for postgres support I believe all we would need to do is open a PR that adds a new postgres__date_timezone(column)
section within the macro. Similar to how we have it for bigquery:
dbt_stripe/macros/date_timezone.sql
Lines 7 to 14 in de061f7
I noticed you mentioned you would be open to creating a PR on your end! We are always excited when people from the community want to contribute back to our packages. Please let me know if you would like to work on a PR to account for postgres compatibility in this macro. I am happy to help answer any questions you may have!
Otherwise, my team can tackle this issue in a future sprint. Let me know!
from dbt_stripe.
PR ready to roll! :)
from dbt_stripe.
Hi @johnf, thank you for opening the PR! We've tested and included your changes to the package. Closing this issue!
from dbt_stripe.
Related Issues (20)
- [Feature] Add `paid_out_of_bound` boolean to better identify invoices paid outside of Stripe HOT 5
- [Bug] Latest Version of Stripe does not reference latest stripe_source HOT 1
- [Feature] Databricks Support
- How to adjust models? HOT 18
- [Bug] Errors when extracting JSON values HOT 12
- [Feature] currency field to be pulled through to invoice_line_items HOT 4
- Your package relies on older versions of dbt-utils, which means our project is stuck on an older version HOT 2
- Add table rename at the end of each refresh HOT 5
- [Bug] stripe__daily_overview run exceeds memory HOT 1
- [Bug] Error in tmp models due to metadata type json HOT 3
- [FEATURE] metadata columns does not appear summary tables HOT 3
- [Feature] DuckDB Support HOT 1
- [Feature] Be able to leverage package to create MRR reports
- [Feature] Stripe report folder should be renamed to Stripe financial reports
- [Question] Custom metadata column don't use alias feature HOT 3
- [Bug] update date_spine model to accommodate empty `stripe__balance_transactions`
- [Bug] livemode_predicate generates invalid SQL on Redshift: cannot cast type character varying to boolean HOT 5
- [Investigation] Possible fanout in `int_stripe__account_daily` when using connected accounts
- [Investigate] Discrepancy between line item amounts and invoice amounts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt_stripe.