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
HIVE-23939: SharedWorkOptimizer: take the union of columns in mergeable TableScans #1324
HIVE-23939: SharedWorkOptimizer: take the union of columns in mergeable TableScans #1324
Conversation
dbb0ac2
to
53d0f2b
Compare
So looking through the Q tests (specifically In the explain plan this produces It seems to me that the correct behavior would be to either...
There are similar issues in other Q tests but I chose this one for simplicity, if this isn't clear I'd be happy to clarify more. |
@HunterL
is a result of merging two SharedWorkOptimizer naively combined the filter expressions using The new TS has two children
both of them are If |
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
Outdated
Show resolved
Hide resolved
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
Outdated
Show resolved
Hide resolved
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
Outdated
Show resolved
Hide resolved
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
Outdated
Show resolved
Hide resolved
ql/src/java/org/apache/hadoop/hive/ql/optimizer/SharedWorkOptimizer.java
Show resolved
Hide resolved
ql/src/test/results/clientpositive/llap/auto_join_reordering_values.q.out
Show resolved
Hide resolved
…le TableScans - update q9, q64 out
…le TableScans - address review comments
aa2199d
to
9179b15
Compare
Testing done: