Skip to content
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

bitwise_right_shift: mismatch values Presto/Velox #12339

Open
peterenescu opened this issue Feb 14, 2025 · 0 comments
Open

bitwise_right_shift: mismatch values Presto/Velox #12339

peterenescu opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Feb 14, 2025

Description

bitwise_right_shift produces mismatching value between Velox/Presto.

Reproduction

(Velox followed by Presto)

presto:di> SELECT bitwise_right_shift(c0, (c1 - c2)) from (values (3310924350904134818, 468965400, 1464061230)) t(c0, c1, c2);
 _col0                
-------
     0 
(1 row)
presto:di> SELECT bitwise_right_shift(3310924350904134818, (468965400 - 1464061230));
 _col0                
--------
 752817 
(1 row)
@peterenescu peterenescu added bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found and removed fuzzer Issues related the to Velox fuzzer test components. fuzzer-found labels Feb 14, 2025
@peterenescu peterenescu changed the title bitwise_right_shift: mismatch values bitwise_right_shift: mismatch values Presto/Velox Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer-found
Projects
None yet
Development

No branches or pull requests

2 participants