You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2021/01/28 15:24:08 UTC
[hive] branch master updated (1781615 -> 170d5b4)
This is an automated email from the ASF dual-hosted git repository.
kgyrtkirk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.
from 1781615 HIVE-24661: Do Not Stringify Exception in Logger messages (David Mollitor reviewed by Miklos Gergely)
add 170d5b4 HIVE-24601: Control CBO fallback behavior via property (#1875) (Stamatis Zampetakis reviewed by Zoltan Haindrich)
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/hadoop/hive/conf/HiveConf.java | 7 ++
data/conf/hive-site.xml | 5 ++
data/conf/llap/hive-site.xml | 5 ++
data/conf/tez/hive-site.xml | 5 ++
.../hadoop/hive/ql/parse/CBOFallbackStrategy.java | 76 ++++++++++++++++++++++
.../hadoop/hive/ql/parse/CalcitePlanner.java | 21 ++----
.../cbo_fallback_conservative_subquery_exception.q | 6 ++
.../cbo_fallback_never_semantic_exception.q | 5 ++
.../cbo_fallback_never_subquery_exception.q | 5 ++
.../cbo_fallback_strategy_illegal_00.q | 2 +
.../cbo_fallback_strategy_illegal_01.q | 2 +
.../cbo_fallback_test_subquery_exception.q | 6 ++
.../cbo_fallback_always_semantic_exception.q | 6 ++
.../cbo_fallback_always_subquery_exception.q | 8 +++
.../cbo_fallback_conservative_semantic_exception.q | 6 ++
.../cbo_fallback_test_semantic_exception.q | 6 ++
..._fallback_conservative_subquery_exception.q.out | 1 +
.../cbo_fallback_never_semantic_exception.q.out | 1 +
.../cbo_fallback_never_subquery_exception.q.out | 1 +
.../cbo_fallback_strategy_illegal_00.q.out | 1 +
.../cbo_fallback_strategy_illegal_01.q.out | 1 +
.../cbo_fallback_test_subquery_exception.q.out | 1 +
.../clientnegative/insert_into_with_schema2.q.out | 2 +-
.../clientnegative/subquery_all_equal.q.out | 2 +-
.../clientnegative/subquery_any_aggregate.q.out | 2 +-
.../clientnegative/subquery_any_notequal.q.out | 2 +-
.../clientnegative/subquery_corr_from.q.out | 2 +-
.../clientnegative/subquery_corr_grandparent.q.out | 2 +-
.../clientnegative/subquery_corr_select.q.out | 2 +-
.../subquery_correlated_grand_parent.q.out | 2 +-
.../subquery_exists_implicit_gby.q.out | 2 +-
.../clientnegative/subquery_in_groupby.q.out | 2 +-
.../results/clientnegative/subquery_in_lhs.q.out | 2 +-
.../results/clientnegative/subquery_in_on.q.out | 2 +-
.../subquery_multiple_cols_in_select.q.out | 2 +-
.../subquery_non_exisiting_column.q.out | 2 +-
.../subquery_notexists_implicit_gby.q.out | 2 +-
.../subquery_scalar_multi_columns.q.out | 2 +-
.../clientnegative/subquery_select_aggregate.q.out | 2 +-
.../clientnegative/subquery_select_distinct.q.out | 2 +-
.../clientnegative/subquery_select_distinct2.q.out | 2 +-
.../subquery_subquery_chain_exists.q.out | 2 +-
.../clientnegative/subquery_windowing_corr.q.out | 2 +-
.../cbo_fallback_always_semantic_exception.q.out | 31 +++++++++
.../cbo_fallback_always_subquery_exception.q.out | 46 +++++++++++++
..._fallback_conservative_semantic_exception.q.out | 31 +++++++++
.../cbo_fallback_test_semantic_exception.q.out | 31 +++++++++
47 files changed, 321 insertions(+), 37 deletions(-)
create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/parse/CBOFallbackStrategy.java
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_conservative_subquery_exception.q
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_never_semantic_exception.q
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_never_subquery_exception.q
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_strategy_illegal_00.q
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_strategy_illegal_01.q
create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_test_subquery_exception.q
create mode 100644 ql/src/test/queries/clientpositive/cbo_fallback_always_semantic_exception.q
create mode 100644 ql/src/test/queries/clientpositive/cbo_fallback_always_subquery_exception.q
create mode 100644 ql/src/test/queries/clientpositive/cbo_fallback_conservative_semantic_exception.q
create mode 100644 ql/src/test/queries/clientpositive/cbo_fallback_test_semantic_exception.q
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_conservative_subquery_exception.q.out
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_never_semantic_exception.q.out
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_never_subquery_exception.q.out
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_strategy_illegal_00.q.out
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_strategy_illegal_01.q.out
create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_test_subquery_exception.q.out
create mode 100644 ql/src/test/results/clientpositive/llap/cbo_fallback_always_semantic_exception.q.out
create mode 100644 ql/src/test/results/clientpositive/llap/cbo_fallback_always_subquery_exception.q.out
create mode 100644 ql/src/test/results/clientpositive/llap/cbo_fallback_conservative_semantic_exception.q.out
create mode 100644 ql/src/test/results/clientpositive/llap/cbo_fallback_test_semantic_exception.q.out