You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was found while working on adding support for kRange frames in the window fuzzer. The results for below query in velox do not match with Presto. The velox results appear to be incorrect upon checking the output for row 3.
The corresponding Presto query uses the offset k with value 2364390614705783022:
SELECT c0, s0, p0, p1, row_number, k1, sum(c0) OVER (PARTITION BY p0, p1 ORDER BY s0 ASC NULLS LAST RANGE BETWEEN UNBOUNDED PRECEDING AND 2364390614705783022 PRECEDING) FROM tmp
This issue is currently seen with empty frames (RANGE between UNBOUNDED PRECEDING and k1 PRECEDING) and could be because the check does not account for this case.
Bug description
This issue was found while working on adding support for kRange frames in the window fuzzer. The results for below query in velox do not match with Presto. The velox results appear to be incorrect upon checking the output for row 3.
The corresponding Presto query uses the offset k with value
2364390614705783022
:This issue is currently seen with empty frames (
RANGE between UNBOUNDED PRECEDING and k1 PRECEDING
) and could be because the check does not account for this case.Repro: The commit can be used to repro the issue.
Related PR: #10006
cc: @aditi-pandit
System information
Velox System Info v0.0.2
Commit: 03d703f
CMake Version: 3.29.4
System: Darwin-23.5.0
Arch: arm64
C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
C++ Compiler Version: 15.0.0.15000309
C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
C Compiler Version: 15.0.0.15000309
CMake Prefix Path: /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew/Cellar/cmake/3.29.4;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
Relevant logs
No response
The text was updated successfully, but these errors were encountered: