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
[BEAM-10613] Implement BIT_AND for Beam SQL ZetaSQL dialect as CombineFn #12433
Conversation
can you provide the |
Yes, one of my previous commit has some tests related to NULL case. |
Thanks @Imfuyuwei
@rehmanmuradali can you check this test case and make sure it passes before get this PR merged? |
@amaliujia the test is failing. Seems like the issue is reported here BEAM-10379 |
Yes. It seems an issue that under the surface. We have to fix that to make bit_and merged. |
@amaliujia all aggregate functions implementation will be dependent on this ticket? I tried to change the NULL test case(initially bit_and) to bit_or and the issue reproduces. |
My impression was bit_and crashed due to this special case while others didn't (or not tested). That was why bit_and was disabled. |
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.
Try this test case: SELECT bit_and(x) FROM (SELECT CAST(NULL AS int64) x);
Expected: NULL
Currently: 9223372036854775807
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions. |
This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
@ibzib @robinyqiu could you please help us reopen this PR? cc: @sonam-vend |
This pull request is no longer marked as stale. |
The nullness issue was fixed and BIT_AND enabled in #15174. |
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.