-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Incorrect result for a JOIN predicate t1.c0 IN (t0.c0) and WHERE predicate t1.c0<=t0.c0 #525
Comments
Good find. Looks to me like uninitialized memory is being read. |
I also checked using debug build, which exits with the following:
|
Interesting, looks like a type mismatch somehow. Thanks :) I will have a look! |
Fixed in 0e5a3c4, this was a problem caused by the remove unused column optimizer. This optimizer projects out columns that are no longer required after a filter or join. For example, if we would have a query In this case, what happened was this optimizer detected that |
Consider the following statements:
Unexpectedly, the query yields an incorrect result and fetches a value that is not contained in
t1
.I found this based on the latest master commit (c52fc9b).
The text was updated successfully, but these errors were encountered: