You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kr...@apache.org on 2021/04/22 11:20:31 UTC
[hive] branch master updated (9f5bd72 -> 4f4cbed)
This is an automated email from the ASF dual-hosted git repository.
krisztiankasa pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.
from 9f5bd72 HIVE-25012: Parsing table alias is failing if query has table properties specified (Krisztian Kasa, reviewed by Zoltan Haindrich)
add 4f4cbed HIVE-24957 HIVE-24999: Inefficient & wrong CBO plans in the presence of subqueries (Stamatis Zampetakis, reviewed by Krisztian Kasa)
No new revisions were added by this update.
Summary of changes:
.../hadoop/hive/ql/optimizer/calcite/Bug.java | 10 +
.../hive/ql/optimizer/calcite/HiveRelBuilder.java | 99 ++
.../calcite/rules/CorrelateProjectExtractor.java | 345 +++++++
.../FilterFlattenCorrelatedConditionRule.java | 125 +++
.../calcite/rules/HiveRelDecorrelator.java | 119 ++-
ql/src/test/queries/clientpositive/masking_12.q | 3 +
ql/src/test/queries/clientpositive/masking_3.q | 7 +
ql/src/test/queries/clientpositive/masking_4.q | 4 +-
.../subquery_complex_correlation_predicates.q | 78 ++
.../subquery_in_invalid_intermediate_plan.q | 56 +
.../queries/clientpositive/subquery_notexists.q | 2 +
.../test/queries/clientpositive/subquery_notin.q | 3 +
.../results/clientpositive/llap/lineage3.q.out | 6 +-
.../results/clientpositive/llap/masking_12.q.out | 136 +--
.../results/clientpositive/llap/masking_3.q.out | 895 ++++++----------
.../results/clientpositive/llap/masking_4.q.out | 133 +--
.../results/clientpositive/llap/subquery_ANY.q.out | 8 +-
.../subquery_complex_correlation_predicates.q.out | 292 ++++++
.../clientpositive/llap/subquery_corr.q.out | 26 +-
.../results/clientpositive/llap/subquery_in.q.out | 186 ++--
.../clientpositive/llap/subquery_in_having.q.out | 4 +-
.../subquery_in_invalid_intermediate_plan.q.out | 211 ++++
.../clientpositive/llap/subquery_multi.q.out | 106 +-
.../clientpositive/llap/subquery_notexists.q.out | 183 ++--
.../clientpositive/llap/subquery_notin.q.out | 1088 ++++++++------------
.../llap/subquery_notin_having.q.out | 72 +-
.../clientpositive/llap/subquery_scalar.q.out | 4 +-
.../clientpositive/llap/subquery_select.q.out | 6 +-
.../clientpositive/llap/subquery_views.q.out | 118 +--
.../clientpositive/llap/tez_smb_reduce_side.q.out | 220 ++--
30 files changed, 2493 insertions(+), 2052 deletions(-)
create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/CorrelateProjectExtractor.java
create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/FilterFlattenCorrelatedConditionRule.java
create mode 100644 ql/src/test/queries/clientpositive/subquery_complex_correlation_predicates.q
create mode 100644 ql/src/test/queries/clientpositive/subquery_in_invalid_intermediate_plan.q
create mode 100644 ql/src/test/results/clientpositive/llap/subquery_complex_correlation_predicates.q.out
create mode 100644 ql/src/test/results/clientpositive/llap/subquery_in_invalid_intermediate_plan.q.out