We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
to_ieee754_32 mismatch caught during fuzzer run
to_ieee754_32
(Presto followed by Velox)
presto:di> SELECT to_ieee754_32(sign(mod(REAL '0.987520694732666', floor(((real '0.4021803140640259'+ real '0.8861451745033264')- real '0.4312475323677063'))))); _col0 ------------- ff c0 00 00 (1 row) presto:di> select to_ieee754_32(sign(mod(REAL '0.987520694732666', floor(((c0 + c1) - c2))))) from (values (real '0.4021803140640259', real '0.8861451745033264', real '0.4312475323677063') ) t(c0,c1,c2); _col0 ------------- 7f c0 00 00 (1 row)
Additional nested queries prove identical between the two systems.
presto:di> select sign(mod(REAL '0.987520694732666', floor(((real '0.4021803140640259'+ real '0.8861451745033264')- real '0.4312475323677063')))); _col0 ------- NaN (1 row) presto:di> select sign(mod(REAL '0.987520694732666', floor(((c0 + c1) - c2)))) from (values (real '0.4021803140640259', real '0.8861451745033264', real '0.4312475323677063') ) t(c0,c1,c2); _col0 ------- NaN (1 row) presto:di>
to_ieee754_32 mismatch propagates to spooky_hash_v2_32 during fuzzer run:
spooky_hash_v2_32
presto:di> SELECT spooky_hash_v2_32(to_ieee754_32(sign(mod(REAL '0.987520694732666', floor(((c0 + c1) - c2)))))) from (values (real '0.4021803140640259', real '0.8861451745033264', real '0.4312475323677063') ) t(c0,c1,c2); _col0 ------------- 03 1c 0a 2e (1 row) presto:di> SELECT spooky_hash_v2_32(to_ieee754_32(sign(mod(REAL '0.987520694732666', floor(((real '0.4021803140640259'+ real '0.8861451745033264')- real '0.4312475323677063')))))); _col0 ------------- 89 0a 47 a0 (1 row)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
to_ieee754_32
mismatch caught during fuzzer runReproduction
(Presto followed by Velox)
Relevant logs
Additional nested queries prove identical between the two systems.
to_ieee754_32
mismatch propagates tospooky_hash_v2_32
during fuzzer run:The text was updated successfully, but these errors were encountered: