-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Decimal256 coercion #7034
Merged
Merged
Decimal256 coercion #7034
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7b6d4ba
Merge remote-tracking branch 'upstream/main'
jdye64 37383bb
Merge remote-tracking branch 'upstream/main'
jdye64 2304dd3
Merge remote-tracking branch 'upstream/main'
jdye64 35aa178
Merge remote-tracking branch 'upstream/main'
jdye64 8bcabda
Merge remote-tracking branch 'upstream/main'
jdye64 ceae98b
Merge remote-tracking branch 'upstream/main'
jdye64 45af9b8
Add Decimal256 ARM to TypeCoercion is_signed_numeric & is_decimal fun…
jdye64 4bd2da1
Add Decimal256 to aggregates.rs as well
jdye64 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Doesn't this change imply that people can run
AVG(dec256_col)
now? I tried to run this queryBut it seems like datafusion support for Decimal256 is still in progress
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.
hmm yes, I was under the impression that it should. In Dask-Sql's case we are not using the physical planner from DataFusion and rather using our own so maybe this error is coming in from some similar missed
Decimal256
coverage there? That would also explain why I don't see this issue when running as a library with dask-sql I guess?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.
simplify_expressions
is an optimization pass on the logical plan.I suppose you're not using those or having your own.
Anyway, would be good to have some more support / (end-to-end) tests for
Decimal256
.