Open GoogleCodeExporter opened 9 years ago
Thanks for verifying and filing this, Taewoo! A couple of notes. First, if we
can't fix it, we can always change our motto from "More Engine, Less Trunk" to
something else, like "Satisfaction Guaranteed or Double Your Data Back!" More
seriously, on the repro side, the query does the right thing if you remove the
disjunction - so it's the disjunction that's the issue - correlated disjunctive
subqueries are broken. Also, thinking I was being clever, I tried rewriting
this into a count-based subquery and checking for count > 0 - the system won
the cleverness battle and gave the identical wrong answer to this. So it's not
just the existential predicate - it really seems to be disjunction related.
@Yingyi, could you have a quick first peek? (I am thinking that you might spot
something obvious there. Also cc'ing Jules since he's dealing with
subquery/related issues in his SQL++ work.
Original comment by dtab...@gmail.com
on 10 Mar 2015 at 6:41
Original issue reported on code.google.com by
wangs...@gmail.com
on 10 Mar 2015 at 4:48Attachments: