-
Notifications
You must be signed in to change notification settings - Fork 509
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
Optimize deduplicate()
implementations
#549
Optimize deduplicate()
implementations
#549
Conversation
deduplicate()
deduplicate()
implementations
b23bba4
to
f0a556d
Compare
f0a556d
to
8ec7158
Compare
8ec7158
to
a576e54
Compare
qualify | ||
row_number() over ( | ||
partition by {{ group_by }} | ||
{% if order_by is not none -%} |
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.
I understand the desire to not make this update a breaking change by requiring a parameter that was previously optional, but if order_by
is not specified here, the query will fail on Snowflake.
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.
#548 deals with that half
This is a:
main
dev/
branchdev/
branchDescription & motivation
Checklist
star()
source)limit_zero()
macro in place of the literal string:limit 0
dbt_utils.type_*
macros instead of explicit datatypes (e.g.dbt_utils.type_timestamp()
instead ofTIMESTAMP