-
Notifications
You must be signed in to change notification settings - Fork 902
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
Support null literals in expressions #9117
Conversation
…'t compile because we can't check scalar device view validity on the host.
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.
Tiny nit but otherwise this looks good from the Java perspective.
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #9117 +/- ##
===============================================
Coverage ? 10.77%
===============================================
Files ? 115
Lines ? 18722
Branches ? 0
===============================================
Hits ? 2018
Misses ? 16704
Partials ? 0 Continue to review full report at Codecov.
|
Fix typo Co-authored-by: Jason Lowe <[email protected]>
rerun tests |
1 similar comment
rerun tests |
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.
See comments. Overall this design is good! I have a few suggestions.
…_8831 # Conflicts: # cpp/src/ast/expression_parser.cpp
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.
Beautiful! I like the changes you made since my last review. It feels much cleaner.
@gpucibot merge |
This PR resolves #8831 by propagating null values appropriately when they are provided in the form of literals. In addition to adding support at the level of expression evaluation, this PR also adds the appropriate dispatch to the correct code path at the level of calls to APIs using expressions containing nulls so that the null-supporting code paths can be triggered even when operating on tables that do not contain any nulls.