Incorrect NULL handling in lead
window function (SQLancer)
#12717
Labels
bug
Something isn't working
lead
window function (SQLancer)
#12717
Describe the bug
See the reproducer in datafusion-cli (compiled from the latest main, commit 0242767)
To Reproduce
No response
Expected behavior
This query should be valid, NULL literal can be interpreted as a missing bool value, so 1st and 3rd arg in
lead()
function have the same typepostgres result:
Additional context
Found by SQLancer #11030
The text was updated successfully, but these errors were encountered: