-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[CALCITE-3627] New Row Null Policy #2667
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
[CALCITE-3627] New Row Null Policy #2667
Conversation
Finally I created a clean pr. @DonnyZone I look forward your comments. So sorry to create multiple PRs |
core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java
Outdated
Show resolved
Hide resolved
Some tests in |
@DonnyZone previous Calcite does not support ROW nullability. so for those failing tests row is null but it returns full row rather than null value for row. I changed tests' expected output with right one. Please let me know if you see any issue |
LGTM! |
@DonnyZone I believe I squashed my commits. Please let me know if you need anything from me. |
Sorry for the inconvenience, could you squash your 5 commits into one, i.e., " |
dd6e72d
to
008a33d
Compare
Ok it is done. Now I see only one commit @DonnyZone |
Hi @talatuyarer, sorry for trouble you again. The ticket number in commit message should be |
008a33d
to
ba74249
Compare
@DonnyZone it is done I did not realized too 😂 |
Thank you @DonnyZone for reviewing and merging 🙏 |
As describe under CALCITE-3627 ticket. Current row policy is wrong. When ROW has a null column. Calcite returns null for ROW value. I am working on Apache Beam SQL Row support. Because of ANY policy RexToLixTranslator generate wrong code. This is my first pr for calcite project. Thanks for your comments in advance.
I recreated my pr because old pr did not puck up updated code.
@DonnyZone could you re-review ? I updated my pr after your RexNode-to-Expression CodeGen Implementation.
Thanks