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 effe7e4 HIVE-22805: Vectorization with conditional array or map is not implemented and throws an error (Peter Vary reviewed by Ramesh Kumar Thangarajan and Marta Kuczora) add 5f49b9f HIVE-22358: Add schedule shorthands for convinience (Zoltan Haindrich reviewed by Jesus Camacho Rodriguez) add 002d4e1 HIVE-22803: Mark scheduled queries executions to help end-user identify it easier (Zoltan Haindrich reviewed by Jesus Camacho Rodriguez) add 89cf44f HIVE-22809: Support materialized view rebuild as a scheduled query (Zoltan Haindrich reviewed by Jesus Camacho Rodriguez) add a428a49 HIVE-22775: Use the qt:authorizer option in qtests (Zoltan Haindrich reviewed by Miklos Gergely) No new revisions were added by this update. Summary of changes: .../hive/schq/TestScheduledQueryIntegration.java | 19 ++- .../test/resources/testconfiguration.properties | 1 + .../java/org/apache/hadoop/hive/ql/QTestUtil.java | 3 +- .../hive/ql/qoption/QTestAuthorizerHandler.java | 3 + .../hive/ql/qoption/QTestOptionDispatcher.java | 14 +- .../org/apache/hadoop/hive/ql/parse/HiveLexer.g | 2 + .../org/apache/hadoop/hive/ql/parse/HiveParser.g | 4 + .../hadoop/hive/ql/parse/IdentifiersParser.g | 2 +- ql/src/java/org/apache/hadoop/hive/ql/Driver.java | 3 +- .../AlterMaterializedViewRebuildAnalyzer.java | 9 +- .../apache/hadoop/hive/ql/hooks/HookContext.java | 2 - .../hadoop/hive/ql/lockmgr/DbTxnManager.java | 3 +- .../hive/ql/parse/ScheduledQueryAnalyzer.java | 106 ++++++++++++++ .../hadoop/hive/ql/parse/UnparseTranslator.java | 4 +- .../hive/ql/schq/TestScheduledQueryStatements.java | 57 +++++++- .../clientnegative/authorization_addpartition.q | 5 +- .../clientnegative/authorization_alter_db_owner.q | 5 +- .../authorization_alter_db_owner_default.q | 5 +- .../clientnegative/authorization_alter_drop_ptn.q | 5 +- ...orization_alter_table_exchange_partition_fail.q | 9 +- ...rization_alter_table_exchange_partition_fail2.q | 10 +- .../clientnegative/authorization_create_func1.q | 5 +- .../clientnegative/authorization_create_func2.q | 5 +- .../clientnegative/authorization_create_macro1.q | 5 +- .../clientnegative/authorization_create_tbl.q | 5 +- .../clientnegative/authorization_create_view.q | 5 +- .../clientnegative/authorization_createview.q | 5 +- .../queries/clientnegative/authorization_ctas.q | 5 +- .../queries/clientnegative/authorization_ctas2.q | 5 +- .../authorization_delete_nodeletepriv.q | 5 +- .../authorization_desc_table_nosel.q | 5 +- .../clientnegative/authorization_drop_db_cascade.q | 5 +- .../clientnegative/authorization_drop_db_empty.q | 5 +- .../clientnegative/authorization_droppartition.q | 5 +- .../clientnegative/authorization_export_ptn.q | 10 +- .../queries/clientnegative/authorization_import.q | 5 +- .../clientnegative/authorization_import_ptn.q | 10 +- .../authorization_insert_noinspriv.q | 5 +- .../authorization_insert_noselectpriv.q | 5 +- .../authorization_insertoverwrite_nodel.q | 5 +- .../authorization_insertpart_noinspriv.q | 5 +- .../clientnegative/authorization_jdbc_keystore.q | 5 +- .../queries/clientnegative/authorization_msck.q | 5 +- .../authorization_not_owner_alter_tab_rename.q | 5 +- .../authorization_not_owner_alter_tab_serdeprop.q | 5 +- .../authorization_not_owner_drop_tab.q | 5 +- .../authorization_not_owner_drop_tab2.q | 5 +- .../authorization_not_owner_drop_view.q | 5 +- .../authorization_rolehierarchy_privs.q | 5 +- .../queries/clientnegative/authorization_select.q | 5 +- .../clientnegative/authorization_select_view.q | 5 +- .../clientnegative/authorization_show_columns.q | 5 +- .../authorization_show_grant_otherrole.q | 5 +- .../authorization_show_grant_otheruser_all.q | 5 +- .../authorization_show_grant_otheruser_alltabs.q | 5 +- .../authorization_show_grant_otheruser_wtab.q | 5 +- .../authorization_show_parts_nosel.q | 5 +- .../clientnegative/authorization_truncate.q | 5 +- .../clientnegative/authorization_truncate_2.q | 5 +- .../authorization_update_noupdatepriv.q | 5 +- .../authorization_uri_add_partition.q | 5 +- .../authorization_uri_alterpart_loc.q | 5 +- .../authorization_uri_altertab_setloc.q | 5 +- .../authorization_uri_create_table1.q | 5 +- .../authorization_uri_create_table_ext.q | 5 +- .../clientnegative/authorization_uri_createdb.q | 5 +- .../clientnegative/authorization_uri_export.q | 5 +- .../clientnegative/authorization_uri_import.q | 5 +- .../clientnegative/authorization_uri_insert.q | 5 +- .../authorization_uri_insert_local.q | 5 +- .../clientnegative/authorization_uri_load_data.q | 5 +- ql/src/test/queries/clientnegative/ct_noperm_loc.q | 5 +- .../test/queries/clientnegative/ctas_noperm_loc.q | 5 +- ...terialized_view_authorization_create_no_grant.q | 5 +- ...ized_view_authorization_create_no_select_perm.q | 5 +- .../materialized_view_authorization_drop_other.q | 5 +- ...aterialized_view_authorization_no_select_perm.q | 5 +- ...erialized_view_authorization_rebuild_no_grant.q | 5 +- ...materialized_view_authorization_rebuild_other.q | 5 +- .../clientnegative/repl_dump_requires_admin.q | 5 +- .../clientnegative/repl_load_requires_admin.q | 5 +- .../temp_table_authorize_create_tbl.q | 5 +- .../test/queries/clientpositive/authorization_1.q | 2 - .../clientpositive/authorization_1_sql_std.q | 8 +- .../authorization_alter_table_exchange_partition.q | 7 +- .../clientpositive/authorization_create_func1.q | 5 +- .../clientpositive/authorization_create_macro1.q | 5 +- .../authorization_delete_own_table.q | 5 +- .../clientpositive/authorization_owner_actions.q | 5 +- .../authorization_owner_actions_db.q | 5 +- .../queries/clientpositive/authorization_parts.q | 5 +- .../queries/clientpositive/authorization_reset.q | 5 +- .../clientpositive/authorization_show_grant.q | 5 +- .../authorization_update_own_table.q | 5 +- .../test/queries/clientpositive/authorization_wm.q | 7 +- ...5_export_parentpath_has_inaccessible_children.q | 1 - .../materialized_view_authorization_sqlstd.q | 5 +- .../clientpositive/results_cache_with_auth.q | 7 +- .../queries/clientpositive/schq_materialized.q | 57 ++++++++ .../clientpositive/view_authorization_sqlstd.q | 5 +- .../results/clientpositive/authorization_1.q.out | 8 - .../clientpositive/authorization_1_sql_std.q.out | 8 - .../clientpositive/llap/schq_materialized.q.out | 162 +++++++++++++++++++++ .../results/clientpositive/llap/sysdb_schq.q.out | 4 +- .../clientpositive/results_cache_with_auth.q.out | 8 - .../apache/hadoop/hive/metastore/ObjectStore.java | 2 +- 106 files changed, 514 insertions(+), 408 deletions(-) create mode 100644 ql/src/test/queries/clientpositive/schq_materialized.q create mode 100644 ql/src/test/results/clientpositive/llap/schq_materialized.q.out