-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revert _timestamp field name changes #42
revert _timestamp field name changes #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fivetran-jamie looks good, just some clarifying questions!
@@ -41,12 +41,6 @@ | |||
- Dependencies on `fivetran/fivetran_utils` have been upgraded, previously `[">=0.3.0", "<0.4.0"]` now `[">=0.4.0", "<0.5.0"]`. | |||
|
|||
[PR #40](https://github.com/fivetran/dbt_shopify_source/pull/40) includes the following breaking changes: | |||
- In the following tables, `*_timestamp` columns have been renamed to `*_at` for consistency: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was a bit confused looking at PR #40, I didn't see the timestamp renaming? Was this merged in an earlier PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah so we currently rename these fields in main - https://github.com/fivetran/dbt_shopify_source/blob/main/macros/staging_columns.sql#L5
in my previous PR, i removed the alias when i moved around the staging column macros
- `stg_shopify__order` | ||
- `stg_shopify__product_variant` | ||
- `stg_shopify__product` | ||
- `stg_shopify__transaction` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a reason we just changed these tables to the timestamp
format? I see some others still in the _at
format. https://github.com/fivetran/dbt_shopify_source/blob/feature/package-revamp/models/stg_shopify__refund.sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not that i can tell, it seems like a stylistic choice Dylan made for the most pertinent timestamp columns
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah got it!
Are you a current Fivetran customer?
fivetran made PR
What change(s) does this PR introduce?
*_at
to*_timestamp
and decided to not do this for consistency. however, this introduced quite a few downstream errors in the transform package (and shopify holistic reporting). i don't think it's worth it to make this change, so this PR reverts what i didDid you update the CHANGELOG?
Does this PR introduce a breaking change?
this AVOIDS a breaking change
Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)
Is this PR in response to a previously created Bug or Feature Request
How did you test the PR changes?
Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
🐖
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.