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/01/04 16:48:25 UTC

[hive] branch master updated (ecdcc7c -> 9c4c54c)

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 ecdcc7c  HIVE-24552: Possible HMS connections leak or accumulation in loadDynamicPartitions (#1802) (Yongzhi Chen, reviewed by László Pintér)
     add 9c4c54c  HIVE-24434: Filter out materialized views for rewriting if plan pattern is not allowed (Krisztian Kasa, reviewed by Jesus Camacho Rodriguez)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/hadoop/hive/ql/metadata/Hive.java   |  74 ++++-----
 .../ql/metadata/HiveMaterializedViewsRegistry.java |  48 ++++--
 .../ql/metadata/HiveRelOptMaterialization.java     |  72 +++++++++
 .../hive/ql/metadata/MaterializedViewsCache.java   |  58 ++++---
 .../rules/views/HiveMaterializedViewUtils.java     |  21 +--
 .../ql/parse/{TableAccessCtx.java => CBOPlan.java} |  47 +++---
 .../hadoop/hive/ql/parse/CalcitePlanner.java       |  11 +-
 .../apache/hadoop/hive/ql/parse/ParseUtils.java    |   5 +-
 .../ql/metadata/TestMaterializedViewsCache.java    | 122 ++++++++-------
 ...te_by_text.q => materialized_view_rewrite_11.q} |   8 +-
 .../llap/materialized_view_rewrite_11.q.out        | 166 +++++++++++++++++++++
 11 files changed, 452 insertions(+), 180 deletions(-)
 create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveRelOptMaterialization.java
 copy ql/src/java/org/apache/hadoop/hive/ql/parse/{TableAccessCtx.java => CBOPlan.java} (50%)
 copy ql/src/test/queries/clientpositive/{materialized_view_rewrite_by_text.q => materialized_view_rewrite_11.q} (81%)
 create mode 100644 ql/src/test/results/clientpositive/llap/materialized_view_rewrite_11.q.out