-
Notifications
You must be signed in to change notification settings - Fork 1k
feat(snowflake)!: Added decfloat type #6444
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
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.
Nice work, left some comments.
Moreover, I assume you have tested all the annotation against the engine ?
decbfa2 to
2ab96c4
Compare
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-kwoodbeck Let's rebase and merge.
065b2a5 to
1e30447
Compare
| expr_type: {"annotator": lambda self, e: self._annotate_by_args(e, "this")} | ||
| for expr_type in { | ||
| exp.Ceil, | ||
| exp.Floor, | ||
| exp.Round, | ||
| } | ||
| }, |
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 think there was an oversight here: we already have a similar dict explosion in L169, so these three should be moved back there / reverted.
Added the decfloat type for Snowflake.
Definition:
https://docs.snowflake.com/en/sql-reference/data-types-numeric#label-data-type-decfloat