This is an automated email from the ASF dual-hosted git repository. pvary pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/hive.git.
from 3a12055 HIVE-25786: Auto-close browser window/tab after successful auth with SSO (Saihemanth Gantasala via Naveen Gangam) add bb26fac HIVE-25792: Recompile the query if CBO has failed (Peter Vary reviewed by Stamatis Zampetakis and Zoltan Haindrich)(#2865) No new revisions were added by this update. Summary of changes: .../java/org/apache/hadoop/hive/conf/HiveConf.java | 7 +- .../TestReExecuteKilledTezAMQueryPlugin.java | 2 +- .../java/org/apache/hadoop/hive/ql/Compiler.java | 19 +- ql/src/java/org/apache/hadoop/hive/ql/Driver.java | 9 +- .../org/apache/hadoop/hive/ql/DriverFactory.java | 9 +- .../java/org/apache/hadoop/hive/ql/Executor.java | 6 +- .../java/org/apache/hadoop/hive/ql/HookRunner.java | 27 ++- .../apache/hadoop/hive/ql/hooks/HookContext.java | 6 +- .../hadoop/hive/ql/hooks/PrivateHookContext.java | 12 ++ .../hadoop/hive/ql/parse/CBOFallbackStrategy.java | 24 ++- .../hadoop/hive/ql/parse/CalcitePlanner.java | 26 +-- .../hive/ql/parse/ExplainSemanticAnalyzer.java | 7 +- .../hadoop/hive/ql/reexec/IReExecutionPlugin.java | 62 ++++++- .../hadoop/hive/ql/reexec/ReCompileException.java | 18 +- .../hive/ql/reexec/ReCompileWithoutCBOPlugin.java | 85 +++++++++ .../apache/hadoop/hive/ql/reexec/ReExecDriver.java | 196 ++++++++++++--------- .../hive/ql/reexec/ReExecuteLostAMQueryPlugin.java | 14 +- .../hive/ql/reexec/ReExecutionDagSubmitPlugin.java | 14 +- .../hive/ql/reexec/ReExecutionOverlayPlugin.java | 11 +- .../hadoop/hive/ql/reexec/ReOptimizePlugin.java | 2 +- .../cbo_fallback_wrong_configuration_exception.q | 6 + ql/src/test/queries/clientpositive/retry_failure.q | 2 +- .../queries/clientpositive/retry_failure_oom.q | 2 +- .../queries/clientpositive/retry_failure_reorder.q | 2 +- .../clientpositive/retry_failure_stat_changes.q | 2 +- .../queries/clientpositive/runtime_stats_hs2.q | 2 +- .../queries/clientpositive/vector_retry_failure.q | 2 +- ...bo_fallback_wrong_configuration_exception.q.out | 1 + 28 files changed, 374 insertions(+), 201 deletions(-) copy itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/security/TestZookeeperTokenStorePlain.java => ql/src/java/org/apache/hadoop/hive/ql/reexec/ReCompileException.java (64%) create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/reexec/ReCompileWithoutCBOPlugin.java create mode 100644 ql/src/test/queries/clientnegative/cbo_fallback_wrong_configuration_exception.q create mode 100644 ql/src/test/results/clientnegative/cbo_fallback_wrong_configuration_exception.q.out