hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcama...@apache.org
Subject [hive] branch master updated (6a33d26 -> 8d4300a)
Date Sat, 16 Mar 2019 03:18:43 GMT
This is an automated email from the ASF dual-hosted git repository.

jcamacho pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.


    from 6a33d26  HIVE-21382: Group by keys reduction optimization - keys are not reduced in query23 (Vineet Garg, reviewed by Jesus Camacho Rodriguez)
     new 4314965  HIVE-21399: Adjust hive.map.aggr.hash.min.reduction statically depending on group by statistics (Jesus Camacho Rodriguez, reviewed by Gopal V)
     new 8d4300a  HIVE-21444: Additional tests for materialized view rewriting (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../test/results/positive/accumulo_queries.q.out   |   1 +
 .../accumulo_single_sourced_multi_insert.q.out     |   1 +
 .../java/org/apache/hadoop/hive/conf/HiveConf.java |   4 +
 .../results/clientpositive/serde_typedbytes.q.out  |   1 +
 .../results/clientpositive/serde_typedbytes2.q.out |   1 +
 .../results/clientpositive/serde_typedbytes3.q.out |   1 +
 .../results/clientpositive/serde_typedbytes5.q.out |   1 +
 .../results/clientpositive/udaf_example_avg.q.out  |   1 +
 .../clientpositive/udaf_example_group_concat.q.out |   1 +
 .../results/clientpositive/udaf_example_max.q.out  |   1 +
 .../clientpositive/udaf_example_max_n.q.out        |   1 +
 .../results/clientpositive/udaf_example_min.q.out  |   1 +
 .../clientpositive/udaf_example_min_n.q.out        |   1 +
 .../src/test/results/positive/hbase_queries.q.out  |   1 +
 .../hbase_single_sourced_multi_insert.q.out        |   1 +
 .../src/test/results/positive/hbasestats.q.out     |   2 +
 .../src/test/results/clientpositive/explain.q.out  |   1 +
 .../results/clientpositive/insert_into_table.q.out |   1 +
 .../clientpositive/insert_overwrite_table.q.out    |   1 +
 .../write_final_output_blobstore.q.out             |   2 +
 .../hadoop/hive/ql/exec/GroupByOperator.java       |   3 +-
 .../hive/ql/exec/vector/VectorGroupByOperator.java |  14 +-
 .../DynamicPartitionPruningOptimization.java       |  24 +-
 .../ql/optimizer/SetHashGroupByMinReduction.java   |  93 ++++++++
 .../calcite/translator/HiveGBOpConvUtil.java       |  10 +-
 .../stats/annotation/StatsRulesProcFactory.java    |  27 +--
 .../hadoop/hive/ql/parse/SemanticAnalyzer.java     |  20 +-
 .../apache/hadoop/hive/ql/parse/TezCompiler.java   |   7 +-
 .../apache/hadoop/hive/ql/plan/GroupByDesc.java    |  22 +-
 .../apache/hadoop/hive/ql/stats/StatsUtils.java    |  48 ++++
 .../clientpositive/materialized_view_rewrite_1.q   |  38 +++
 .../test/results/clientnegative/masking_mv.q.out   |   1 +
 .../clientnegative/spark/spark_job_max_tasks.q.out |   1 +
 .../spark/spark_stage_max_tasks.q.out              |   1 +
 .../test/results/clientpositive/acid_mapjoin.q.out |   1 +
 .../results/clientpositive/acid_nullscan.q.out     |   1 +
 .../test/results/clientpositive/acid_stats3.q.out  |   3 +
 .../test/results/clientpositive/acid_stats4.q.out  |   6 +
 .../test/results/clientpositive/acid_stats5.q.out  |   5 +
 .../results/clientpositive/acid_table_stats.q.out  |   1 +
 .../clientpositive/alterColumnStatsPart.q.out      |   4 +
 .../annotate_stats_deep_filters.q.out              |   2 +
 .../clientpositive/annotate_stats_groupby.q.out    |  24 ++
 .../clientpositive/annotate_stats_groupby2.q.out   |   7 +
 .../clientpositive/annotate_stats_join.q.out       |   1 +
 .../clientpositive/autoColumnStats_11.q.out        |   2 +
 .../results/clientpositive/autoColumnStats_4.q.out |   1 +
 .../results/clientpositive/autoColumnStats_5.q.out |   3 +
 .../clientpositive/autoColumnStats_5a.q.out        |   3 +
 .../results/clientpositive/autoColumnStats_6.q.out |   1 +
 .../results/clientpositive/autoColumnStats_8.q.out |   2 +
 .../results/clientpositive/autoColumnStats_9.q.out |   2 +
 .../test/results/clientpositive/auto_join0.q.out   |   3 +
 .../test/results/clientpositive/auto_join1.q.out   |   1 +
 .../test/results/clientpositive/auto_join10.q.out  |   1 +
 .../test/results/clientpositive/auto_join11.q.out  |   1 +
 .../test/results/clientpositive/auto_join12.q.out  |   1 +
 .../test/results/clientpositive/auto_join13.q.out  |   1 +
 .../test/results/clientpositive/auto_join14.q.out  |   1 +
 .../test/results/clientpositive/auto_join15.q.out  |   1 +
 .../test/results/clientpositive/auto_join16.q.out  |   1 +
 .../test/results/clientpositive/auto_join17.q.out  |   1 +
 .../test/results/clientpositive/auto_join18.q.out  |   3 +
 .../auto_join18_multi_distinct.q.out               |   3 +
 .../test/results/clientpositive/auto_join19.q.out  |   1 +
 .../clientpositive/auto_join19_inclause.q.out      |   1 +
 .../test/results/clientpositive/auto_join2.q.out   |   1 +
 .../test/results/clientpositive/auto_join20.q.out  |   4 +
 .../test/results/clientpositive/auto_join22.q.out  |   1 +
 .../test/results/clientpositive/auto_join24.q.out  |   1 +
 .../test/results/clientpositive/auto_join26.q.out  |   2 +
 .../test/results/clientpositive/auto_join27.q.out  |   3 +
 .../test/results/clientpositive/auto_join3.q.out   |   1 +
 .../test/results/clientpositive/auto_join31.q.out  |   1 +
 .../test/results/clientpositive/auto_join32.q.out  |   4 +
 .../test/results/clientpositive/auto_join4.q.out   |   1 +
 .../test/results/clientpositive/auto_join5.q.out   |   1 +
 .../test/results/clientpositive/auto_join6.q.out   |   1 +
 .../test/results/clientpositive/auto_join7.q.out   |   1 +
 .../test/results/clientpositive/auto_join8.q.out   |   1 +
 .../test/results/clientpositive/auto_join9.q.out   |   1 +
 .../clientpositive/beeline/explain_outputs.q.out   |   3 +
 .../clientpositive/beeline/smb_mapjoin_11.q.out    |   1 +
 .../clientpositive/beeline/smb_mapjoin_12.q.out    |   1 +
 .../clientpositive/beeline/smb_mapjoin_16.q.out    |   1 +
 .../clientpositive/beeline/smb_mapjoin_7.q.out     |   1 +
 .../clientpositive/binary_output_format.q.out      |   1 +
 .../results/clientpositive/binarysortable_1.q.out  | Bin 4527 -> 4570 bytes
 ql/src/test/results/clientpositive/bucket1.q.out   |   1 +
 ql/src/test/results/clientpositive/bucket3.q.out   |   1 +
 .../results/clientpositive/bucket_map_join_1.q.out |   1 +
 .../results/clientpositive/bucket_map_join_2.q.out |   1 +
 .../clientpositive/bucket_map_join_spark1.q.out    |   2 +
 .../clientpositive/bucket_map_join_spark2.q.out    |   2 +
 .../clientpositive/bucket_map_join_spark3.q.out    |   2 +
 .../results/clientpositive/bucketcontext_1.q.out   |   2 +
 .../results/clientpositive/bucketcontext_2.q.out   |   2 +
 .../results/clientpositive/bucketcontext_3.q.out   |   2 +
 .../results/clientpositive/bucketcontext_4.q.out   |   2 +
 .../results/clientpositive/bucketcontext_5.q.out   |   2 +
 .../results/clientpositive/bucketcontext_6.q.out   |   2 +
 .../results/clientpositive/bucketcontext_7.q.out   |   2 +
 .../results/clientpositive/bucketcontext_8.q.out   |   2 +
 .../results/clientpositive/bucketmapjoin10.q.out   |   1 +
 .../results/clientpositive/bucketmapjoin11.q.out   |   2 +
 .../results/clientpositive/bucketmapjoin12.q.out   |   2 +
 .../results/clientpositive/bucketmapjoin13.q.out   |   4 +
 .../results/clientpositive/bucketmapjoin5.q.out    |   2 +
 .../results/clientpositive/bucketmapjoin8.q.out    |   2 +
 .../results/clientpositive/bucketmapjoin9.q.out    |   2 +
 .../clientpositive/bucketmapjoin_negative.q.out    |   1 +
 .../clientpositive/bucketmapjoin_negative2.q.out   |   1 +
 .../bucketsortoptimize_insert_1.q.out              |   1 +
 .../bucketsortoptimize_insert_3.q.out              |   1 +
 .../bucketsortoptimize_insert_4.q.out              |   2 +
 .../bucketsortoptimize_insert_5.q.out              |   2 +
 .../bucketsortoptimize_insert_8.q.out              |   2 +
 .../results/clientpositive/case_sensitivity.q.out  |   1 +
 ql/src/test/results/clientpositive/cast1.q.out     |   1 +
 .../cbo_rp_annotate_stats_groupby.q.out            |  23 ++
 .../results/clientpositive/cbo_rp_auto_join0.q.out |   2 +
 .../results/clientpositive/cbo_rp_auto_join1.q.out |  12 +
 .../clientpositive/cbo_rp_auto_join17.q.out        |   1 +
 .../cbo_rp_cross_product_check_2.q.out             |   4 +
 .../cbo_rp_gby2_map_multi_distinct.q.out           |   4 +
 .../test/results/clientpositive/cbo_rp_join1.q.out |   4 +
 .../cbo_rp_udaf_percentile_approx_23.q.out         |   2 +
 .../columnStatsUpdateForStatsOptimizer_2.q.out     |   2 +
 .../clientpositive/columnstats_partlvl.q.out       |   7 +
 .../clientpositive/columnstats_partlvl_dp.q.out    |   4 +
 .../clientpositive/columnstats_quoting.q.out       |   2 +
 .../clientpositive/columnstats_tbllvl.q.out        |   7 +
 ql/src/test/results/clientpositive/combine2.q.out  |   1 +
 ql/src/test/results/clientpositive/comments.q.out  |   1 +
 .../results/clientpositive/complex_alias.q.out     |   3 +
 .../clientpositive/compute_stats_date.q.out        |   1 +
 ql/src/test/results/clientpositive/constGby.q.out  |   1 +
 .../results/clientpositive/constant_prop_2.q.out   |   1 +
 .../results/clientpositive/constant_prop_3.q.out   |   3 +
 .../test/results/clientpositive/constprog_dp.q.out |   1 +
 .../clientpositive/constprog_partitioner.q.out     |   1 +
 .../results/clientpositive/constprog_type.q.out    |   1 +
 .../convert_decimal64_to_decimal.q.out             |   2 +
 .../clientpositive/correlated_join_keys.q.out      |   2 +
 .../clientpositive/correlationoptimizer10.q.out    |   5 +
 .../clientpositive/correlationoptimizer11.q.out    |   2 +
 .../clientpositive/correlationoptimizer13.q.out    |   2 +
 .../clientpositive/correlationoptimizer14.q.out    |   2 +
 .../clientpositive/correlationoptimizer15.q.out    |   1 +
 .../clientpositive/correlationoptimizer7.q.out     |   4 +
 .../clientpositive/correlationoptimizer8.q.out     |  12 +
 .../clientpositive/correlationoptimizer9.q.out     |   8 +
 .../clientpositive/count_dist_rewrite.q.out        |   9 +
 ql/src/test/results/clientpositive/cp_sel.q.out    |   1 +
 .../clientpositive/create_genericudaf.q.out        |   1 +
 .../clientpositive/cross_product_check_1.q.out     |   4 +
 .../clientpositive/cross_product_check_2.q.out     |   4 +
 ql/src/test/results/clientpositive/ctas.q.out      |   5 +
 .../test/results/clientpositive/ctas_colname.q.out |  10 +
 .../ctas_uses_database_location.q.out              |   1 +
 .../results/clientpositive/decimal_precision.q.out |   1 +
 .../test/results/clientpositive/decimal_udf.q.out  |   7 +
 .../clientpositive/display_colstats_tbllvl.q.out   |   3 +
 .../results/clientpositive/distinct_stats.q.out    |   3 +
 .../clientpositive/distinct_windowing.q.out        |   3 +
 .../clientpositive/distinct_windowing_no_cbo.q.out |   5 +
 .../druid/druidmini_expressions.q.out              |  14 ++
 .../test/results/clientpositive/except_all.q.out   |  19 ++
 .../exec_parallel_column_stats.q.out               |   1 +
 .../test/results/clientpositive/explain_ddl.q.out  |   5 +
 .../results/clientpositive/explain_logical.q.out   |   3 +
 .../results/clientpositive/explain_outputs.q.out   |   3 +
 .../results/clientpositive/explain_rearrange.q.out |   8 +
 .../extrapolate_part_stats_date.q.out              |   1 +
 .../results/clientpositive/fetch_aggregation.q.out |   1 +
 .../test/results/clientpositive/filter_aggr.q.out  |   1 +
 .../clientpositive/filter_cond_pushdown2.q.out     |   3 +
 .../filter_cond_pushdown_HIVE_15647.q.out          |   4 +
 .../test/results/clientpositive/filter_union.q.out |   5 +
 ql/src/test/results/clientpositive/fm-sketch.q.out |   2 +
 ql/src/test/results/clientpositive/fold_case.q.out |   7 +
 .../clientpositive/fold_eq_with_case_when.q.out    |   1 +
 .../clientpositive/fp_literal_arithmetic.q.out     |   4 +
 ql/src/test/results/clientpositive/gby_star.q.out  |   4 +
 ql/src/test/results/clientpositive/groupby13.q.out |   1 +
 .../results/clientpositive/groupby1_limit.q.out    |   1 +
 .../test/results/clientpositive/groupby1_map.q.out |   2 +
 .../clientpositive/groupby1_map_nomap.q.out        |   2 +
 .../results/clientpositive/groupby1_map_skew.q.out |   2 +
 .../results/clientpositive/groupby2_limit.q.out    |   1 +
 .../test/results/clientpositive/groupby2_map.q.out |   2 +
 .../groupby2_map_multi_distinct.q.out              |   4 +
 .../results/clientpositive/groupby2_map_skew.q.out |   2 +
 .../test/results/clientpositive/groupby3_map.q.out |   1 +
 .../groupby3_map_multi_distinct.q.out              |   1 +
 .../results/clientpositive/groupby3_map_skew.q.out |   1 +
 .../test/results/clientpositive/groupby4_map.q.out |   1 +
 .../results/clientpositive/groupby4_map_skew.q.out |   1 +
 .../test/results/clientpositive/groupby5_map.q.out |   1 +
 .../results/clientpositive/groupby5_map_skew.q.out |   1 +
 .../test/results/clientpositive/groupby6_map.q.out |   2 +
 .../results/clientpositive/groupby6_map_skew.q.out |   2 +
 .../test/results/clientpositive/groupby7_map.q.out |   4 +
 .../groupby7_map_multi_single_reducer.q.out        |   2 +
 .../results/clientpositive/groupby7_map_skew.q.out |   4 +
 .../test/results/clientpositive/groupby8_map.q.out |   2 +
 .../results/clientpositive/groupby8_map_skew.q.out |   4 +
 ql/src/test/results/clientpositive/groupby9.q.out  |  20 ++
 .../clientpositive/groupby_complex_types.q.out     |   3 +
 ...roupby_complex_types_multi_single_reducer.q.out |   2 +
 .../results/clientpositive/groupby_cube1.q.out     |  10 +
 .../clientpositive/groupby_cube_multi_gby.q.out    |   4 +
 .../clientpositive/groupby_distinct_samekey.q.out  |   2 +
 .../clientpositive/groupby_duplicate_key.q.out     |   4 +
 .../clientpositive/groupby_grouping_id3.q.out      |   2 +
 .../clientpositive/groupby_grouping_sets1.q.out    |   7 +
 .../clientpositive/groupby_grouping_sets2.q.out    |   4 +
 .../clientpositive/groupby_grouping_sets3.q.out    |   3 +
 .../clientpositive/groupby_grouping_sets4.q.out    |   6 +
 .../clientpositive/groupby_grouping_sets5.q.out    |   6 +
 .../clientpositive/groupby_grouping_sets6.q.out    |   2 +
 .../groupby_grouping_sets_grouping.q.out           |  15 ++
 .../groupby_grouping_sets_limit.q.out              |   6 +
 .../clientpositive/groupby_grouping_window.q.out   |   1 +
 .../clientpositive/groupby_join_pushdown.q.out     |  23 ++
 .../results/clientpositive/groupby_map_ppr.q.out   |   2 +
 .../groupby_map_ppr_multi_distinct.q.out           |   2 +
 .../groupby_multi_insert_common_distinct.q.out     |   4 +
 .../groupby_multi_single_reducer2.q.out            |   2 +
 .../groupby_multi_single_reducer3.q.out            |   8 +
 .../clientpositive/groupby_multialias.q.out        |   1 +
 .../results/clientpositive/groupby_position.q.out  |  12 +
 .../test/results/clientpositive/groupby_ppd.q.out  |   2 +
 .../results/clientpositive/groupby_rollup1.q.out   |   8 +
 .../clientpositive/groupby_rollup_empty.q.out      |   1 +
 .../results/clientpositive/groupby_sort_10.q.out   |   1 +
 .../results/clientpositive/groupby_sort_11.q.out   |   6 +
 .../results/clientpositive/groupby_sort_1_23.q.out |  31 +++
 .../results/clientpositive/groupby_sort_2.q.out    |   2 +
 .../results/clientpositive/groupby_sort_3.q.out    |   2 +
 .../results/clientpositive/groupby_sort_4.q.out    |   4 +
 .../results/clientpositive/groupby_sort_5.q.out    |   4 +
 .../results/clientpositive/groupby_sort_6.q.out    |   6 +
 .../results/clientpositive/groupby_sort_7.q.out    |   1 +
 .../results/clientpositive/groupby_sort_8.q.out    |   1 +
 .../results/clientpositive/groupby_sort_9.q.out    |   1 +
 .../clientpositive/groupby_sort_skew_1_23.q.out    |  31 +++
 .../clientpositive/groupby_sort_test_1.q.out       |   1 +
 ql/src/test/results/clientpositive/having.q.out    |   6 +
 ql/src/test/results/clientpositive/having2.q.out   |   5 +
 ql/src/test/results/clientpositive/hll.q.out       |   2 +
 .../results/clientpositive/in_typecheck_char.q.out |   3 +
 .../clientpositive/in_typecheck_pointlook.q.out    |   2 +
 .../clientpositive/in_typecheck_varchar.q.out      |   2 +
 .../infer_bucket_sort_dyn_part.q.out               |   2 +
 .../infer_bucket_sort_grouping_operators.q.out     |   6 +
 .../infer_bucket_sort_map_operators.q.out          |   5 +
 .../infer_bucket_sort_num_buckets.q.out            |   1 +
 ql/src/test/results/clientpositive/innerjoin.q.out |   1 +
 ql/src/test/results/clientpositive/input11.q.out   |   1 +
 ql/src/test/results/clientpositive/input12.q.out   |   3 +
 ql/src/test/results/clientpositive/input13.q.out   |   3 +
 ql/src/test/results/clientpositive/input14.q.out   |   1 +
 ql/src/test/results/clientpositive/input17.q.out   |   1 +
 ql/src/test/results/clientpositive/input18.q.out   |   1 +
 .../test/results/clientpositive/input1_limit.q.out |   2 +
 ql/src/test/results/clientpositive/input20.q.out   |   1 +
 ql/src/test/results/clientpositive/input30.q.out   |   2 +
 ql/src/test/results/clientpositive/input32.q.out   |   1 +
 ql/src/test/results/clientpositive/input33.q.out   |   1 +
 ql/src/test/results/clientpositive/input34.q.out   |   1 +
 ql/src/test/results/clientpositive/input35.q.out   |   1 +
 ql/src/test/results/clientpositive/input36.q.out   |   1 +
 ql/src/test/results/clientpositive/input38.q.out   |   1 +
 ql/src/test/results/clientpositive/input39.q.out   |   1 +
 .../test/results/clientpositive/input3_limit.q.out |   1 +
 ql/src/test/results/clientpositive/input5.q.out    |   1 +
 ql/src/test/results/clientpositive/input6.q.out    |   1 +
 ql/src/test/results/clientpositive/input7.q.out    |   1 +
 ql/src/test/results/clientpositive/input8.q.out    |   1 +
 ql/src/test/results/clientpositive/input9.q.out    |   1 +
 .../test/results/clientpositive/input_part1.q.out  |   1 +
 .../test/results/clientpositive/input_part10.q.out |   1 +
 .../test/results/clientpositive/input_part2.q.out  |   2 +
 .../test/results/clientpositive/input_part5.q.out  |   1 +
 .../clientpositive/input_testsequencefile.q.out    |   1 +
 .../results/clientpositive/input_testxpath.q.out   |   1 +
 .../results/clientpositive/input_testxpath2.q.out  |   1 +
 ql/src/test/results/clientpositive/insert1.q.out   |   6 +
 .../insert2_overwrite_partitions.q.out             |   2 +
 .../test/results/clientpositive/insert_into1.q.out |   6 +
 .../test/results/clientpositive/insert_into2.q.out |   4 +
 .../test/results/clientpositive/insert_into3.q.out |   4 +
 .../test/results/clientpositive/insert_into4.q.out |   3 +
 .../test/results/clientpositive/insert_into5.q.out |   4 +
 .../test/results/clientpositive/insert_into6.q.out |   2 +
 .../clientpositive/insertoverwrite_bucket.q.out    |   2 +
 ql/src/test/results/clientpositive/join14.q.out    |   1 +
 ql/src/test/results/clientpositive/join17.q.out    |   1 +
 ql/src/test/results/clientpositive/join18.q.out    |   2 +
 .../clientpositive/join18_multi_distinct.q.out     |   2 +
 ql/src/test/results/clientpositive/join25.q.out    |   1 +
 ql/src/test/results/clientpositive/join26.q.out    |   1 +
 ql/src/test/results/clientpositive/join27.q.out    |   1 +
 ql/src/test/results/clientpositive/join28.q.out    |   1 +
 ql/src/test/results/clientpositive/join29.q.out    |   5 +
 ql/src/test/results/clientpositive/join3.q.out     |   1 +
 ql/src/test/results/clientpositive/join30.q.out    |   2 +
 ql/src/test/results/clientpositive/join31.q.out    |   4 +
 ql/src/test/results/clientpositive/join32.q.out    |   1 +
 ql/src/test/results/clientpositive/join33.q.out    |   1 +
 ql/src/test/results/clientpositive/join34.q.out    |   2 +
 ql/src/test/results/clientpositive/join35.q.out    |   4 +
 ql/src/test/results/clientpositive/join36.q.out    |   1 +
 ql/src/test/results/clientpositive/join37.q.out    |   1 +
 ql/src/test/results/clientpositive/join38.q.out    |   1 +
 ql/src/test/results/clientpositive/join39.q.out    |   1 +
 ql/src/test/results/clientpositive/join4.q.out     |   1 +
 ql/src/test/results/clientpositive/join40.q.out    |   1 +
 ql/src/test/results/clientpositive/join43.q.out    |   2 +
 ql/src/test/results/clientpositive/join5.q.out     |   1 +
 ql/src/test/results/clientpositive/join6.q.out     |   1 +
 ql/src/test/results/clientpositive/join7.q.out     |   1 +
 ql/src/test/results/clientpositive/join8.q.out     |   1 +
 ql/src/test/results/clientpositive/join9.q.out     |   1 +
 .../clientpositive/join_grp_diff_keys.q.out        |   1 +
 .../test/results/clientpositive/join_map_ppr.q.out |   2 +
 .../join_merge_multi_expressions.q.out             |   1 +
 .../kafka/kafka_storage_handler.q.out              |   2 +
 .../test/results/clientpositive/keep_uniform.q.out |   3 +
 .../results/clientpositive/lateral_view_cp.q.out   |   2 +
 .../clientpositive/lateral_view_explode2.q.out     |   2 +
 .../test/results/clientpositive/leftsemijoin.q.out |   1 +
 .../results/clientpositive/limit_pushdown2.q.out   |  11 +
 .../clientpositive/limit_pushdown_negative.q.out   |   3 +
 ql/src/test/results/clientpositive/lineage1.q.out  |   2 +
 .../results/clientpositive/list_bucket_dml_1.q.out |   1 +
 .../clientpositive/list_bucket_dml_11.q.out        |   1 +
 .../clientpositive/list_bucket_dml_12.q.out        |   1 +
 .../clientpositive/list_bucket_dml_13.q.out        |   1 +
 .../clientpositive/list_bucket_dml_14.q.out        |   1 +
 .../results/clientpositive/list_bucket_dml_2.q.out |   1 +
 .../results/clientpositive/list_bucket_dml_3.q.out |   1 +
 .../results/clientpositive/list_bucket_dml_4.q.out |   2 +
 .../results/clientpositive/list_bucket_dml_5.q.out |   1 +
 .../results/clientpositive/list_bucket_dml_6.q.out |   2 +
 .../results/clientpositive/list_bucket_dml_7.q.out |   2 +
 .../results/clientpositive/list_bucket_dml_8.q.out |   1 +
 .../results/clientpositive/list_bucket_dml_9.q.out |   2 +
 .../list_bucket_query_oneskew_2.q.out              |   2 +
 .../llap/acid_vectorization_original.q.out         |   1 +
 .../results/clientpositive/llap/auto_join0.q.out   |   1 +
 .../results/clientpositive/llap/auto_join1.q.out   |   1 +
 .../results/clientpositive/llap/auto_join30.q.out  |   8 +
 .../clientpositive/llap/auto_join_filters.q.out    |   3 +
 .../clientpositive/llap/auto_join_nulls.q.out      |   1 +
 .../clientpositive/llap/auto_smb_mapjoin_14.q.out  |  18 ++
 .../llap/auto_sortmerge_join_1.q.out               |   3 +
 .../llap/auto_sortmerge_join_10.q.out              |   2 +
 .../llap/auto_sortmerge_join_11.q.out              |   4 +
 .../llap/auto_sortmerge_join_12.q.out              |   1 +
 .../llap/auto_sortmerge_join_13.q.out              |   6 +
 .../llap/auto_sortmerge_join_14.q.out              |   2 +
 .../llap/auto_sortmerge_join_15.q.out              |   2 +
 .../llap/auto_sortmerge_join_2.q.out               |   2 +
 .../llap/auto_sortmerge_join_3.q.out               |   3 +
 .../llap/auto_sortmerge_join_4.q.out               |   3 +
 .../llap/auto_sortmerge_join_5.q.out               |   3 +
 .../llap/auto_sortmerge_join_6.q.out               |  10 +
 .../llap/auto_sortmerge_join_7.q.out               |   3 +
 .../llap/auto_sortmerge_join_8.q.out               |   3 +
 .../llap/auto_sortmerge_join_9.q.out               |  29 +++
 .../test/results/clientpositive/llap/bucket3.q.out |   1 +
 .../test/results/clientpositive/llap/bucket5.q.out |   2 +
 .../test/results/clientpositive/llap/bucket6.q.out |   1 +
 .../clientpositive/llap/bucket_groupby.q.out       |  12 +
 .../results/clientpositive/llap/bucket_many.q.out  |   1 +
 .../clientpositive/llap/bucket_map_join_tez2.q.out |   8 +
 .../clientpositive/llap/bucketmapjoin1.q.out       |   2 +
 .../clientpositive/llap/bucketmapjoin2.q.out       |   3 +
 .../clientpositive/llap/bucketmapjoin3.q.out       |   2 +
 .../clientpositive/llap/bucketmapjoin4.q.out       |   2 +
 .../llap/bucketsortoptimize_insert_2.q.out         |   6 +
 .../llap/bucketsortoptimize_insert_6.q.out         |   7 +
 .../llap/bucketsortoptimize_insert_7.q.out         |   3 +
 .../clientpositive/llap/check_constraint.q.out     |   3 +
 .../columnStatsUpdateForStatsOptimizer_1.q.out     |   6 +
 .../clientpositive/llap/column_table_stats.q.out   |   4 +
 .../llap/column_table_stats_orc.q.out              |   3 +
 .../llap/constraints_optimization.q.out            |  13 ++
 .../llap/convert_decimal64_to_decimal.q.out        |   2 +
 .../llap/correlationoptimizer1.q.out               |  46 ++++
 .../llap/correlationoptimizer2.q.out               |  54 +++++
 .../llap/correlationoptimizer3.q.out               |  12 +
 .../llap/correlationoptimizer4.q.out               |  26 +++
 .../llap/correlationoptimizer6.q.out               |  28 +++
 .../test/results/clientpositive/llap/count.q.out   |   3 +
 .../clientpositive/llap/count_dist_rewrite.q.out   |  10 +
 .../results/clientpositive/llap/cross_prod_1.q.out |   2 +
 .../llap/cross_product_check_1.q.out               |   4 +
 .../llap/cross_product_check_2.q.out               |   4 +
 ql/src/test/results/clientpositive/llap/ctas.q.out |   5 +
 ql/src/test/results/clientpositive/llap/dpp.q.out  |   3 +
 .../llap/dynamic_partition_join_noncbo.q.out       |   1 +
 .../llap/dynamic_partition_pruning.q.out           | 135 +++++++++--
 .../llap/dynamic_partition_pruning_2.q.out         |   8 +
 .../llap/dynamic_semijoin_reduction.q.out          |  41 ++++
 .../llap/dynamic_semijoin_reduction_2.q.out        |  11 +
 .../llap/dynamic_semijoin_reduction_3.q.out        |   7 +
 .../llap/dynamic_semijoin_reduction_4.q.out        |   8 +
 .../llap/dynamic_semijoin_reduction_sw.q.out       |   3 +
 .../llap/dynamic_semijoin_reduction_sw2.q.out      |   2 +
 .../llap/dynamic_semijoin_user_level.q.out         |   2 +
 .../llap/dynpart_sort_opt_vectorization.q.out      |  14 ++
 .../llap/dynpart_sort_optimization.q.out           |  25 ++
 .../llap/dynpart_sort_optimization2.q.out          |   7 +
 .../llap/enforce_constraint_notnull.q.out          |  35 +++
 .../clientpositive/llap/except_distinct.q.out      |  16 ++
 .../results/clientpositive/llap/filter_union.q.out |   5 +
 .../llap/groupby_groupingset_bug.q.out             |   4 +-
 .../clientpositive/llap/groupby_resolution.q.out   |   5 +
 .../clientpositive/llap/groupby_rollup_empty.q.out |   1 +
 .../test/results/clientpositive/llap/having.q.out  |   6 +
 .../llap/hybridgrace_hashjoin_1.q.out              |  10 +
 .../llap/hybridgrace_hashjoin_2.q.out              |  14 ++
 .../test/results/clientpositive/llap/insert1.q.out |   6 +
 .../llap/insert1_overwrite_partitions.q.out        |   3 +
 .../results/clientpositive/llap/insert_into1.q.out |   6 +
 .../results/clientpositive/llap/insert_into2.q.out |   4 +
 .../llap/insert_into_default_keyword.q.out         |  20 ++
 .../insert_values_orig_table_use_metadata.q.out    |   1 +
 .../clientpositive/llap/intersect_all.q.out        |  16 ++
 .../clientpositive/llap/intersect_distinct.q.out   |  16 ++
 .../clientpositive/llap/intersect_merge.q.out      |  66 ++++++
 .../results/clientpositive/llap/jdbc_handler.q.out |   1 +
 .../test/results/clientpositive/llap/join1.q.out   |   1 +
 .../clientpositive/llap/join32_lessSize.q.out      |   6 +
 .../llap/join_reordering_no_stats.q.out            |   4 +
 .../results/clientpositive/llap/keep_uniform.q.out |   3 +
 ql/src/test/results/clientpositive/llap/kryo.q.out |   1 +
 .../results/clientpositive/llap/lateral_view.q.out |   1 +
 .../results/clientpositive/llap/leftsemijoin.q.out |   1 +
 .../clientpositive/llap/limit_pushdown.q.out       |   9 +
 .../clientpositive/llap/limit_pushdown3.q.out      |   7 +
 .../clientpositive/llap/list_bucket_dml_10.q.out   |   1 +
 .../llap/llap_decimal64_reader.q.out               |   2 +
 .../clientpositive/llap/llap_nullscan.q.out        |   2 +
 .../clientpositive/llap/llap_partitioned.q.out     |   6 +-
 .../results/clientpositive/llap/llap_smb.q.out     |   1 +
 .../results/clientpositive/llap/llap_smb_ptf.q.out |   2 +
 .../results/clientpositive/llap/llap_stats.q.out   |   1 +
 .../llap/llap_vector_nohybridgrace.q.out           |   2 +
 .../results/clientpositive/llap/llapdecider.q.out  |   8 +
 .../clientpositive/llap/load_dyn_part1.q.out       |   2 +
 .../clientpositive/llap/load_dyn_part2.q.out       |   1 +
 .../clientpositive/llap/load_dyn_part5.q.out       |   1 +
 .../results/clientpositive/llap/mapjoin_hint.q.out |   5 +
 .../clientpositive/llap/mapjoin_mapjoin.q.out      |   1 +
 .../results/clientpositive/llap/mapreduce1.q.out   |   1 +
 .../results/clientpositive/llap/mapreduce2.q.out   |   1 +
 .../llap/materialized_view_create_rewrite_2.q.out  |   5 +
 .../llap/materialized_view_create_rewrite_3.q.out  |   9 +
 .../llap/materialized_view_create_rewrite_4.q.out  |   9 +
 .../llap/materialized_view_create_rewrite_5.q.out  |   4 +
 ...ialized_view_create_rewrite_rebuild_dummy.q.out |   9 +
 ...erialized_view_create_rewrite_time_window.q.out |   7 +
 .../llap/materialized_view_partitioned.q.out       |   3 +
 .../llap/materialized_view_partitioned_3.q.out     |   1 +
 .../llap/materialized_view_rewrite_1.q.out         | 255 +++++++++++++++++++++
 .../llap/materialized_view_rewrite_10.q.out        |   1 +
 .../llap/materialized_view_rewrite_2.q.out         |   2 +
 .../llap/materialized_view_rewrite_4.q.out         |   6 +
 .../llap/materialized_view_rewrite_5.q.out         |   6 +
 .../llap/materialized_view_rewrite_6.q.out         |   2 +
 .../llap/materialized_view_rewrite_7.q.out         |   7 +
 .../llap/materialized_view_rewrite_8.q.out         |   4 +
 .../llap/materialized_view_rewrite_9.q.out         |   3 +
 .../materialized_view_rewrite_no_join_opt.q.out    |   2 +
 .../materialized_view_rewrite_no_join_opt_2.q.out  |   9 +-
 .../llap/materialized_view_rewrite_part_1.q.out    |   8 +-
 .../llap/materialized_view_rewrite_part_2.q.out    |   3 +
 .../llap/materialized_view_rewrite_ssb.q.out       |  13 ++
 .../llap/materialized_view_rewrite_ssb_2.q.out     |  13 ++
 .../test/results/clientpositive/llap/merge1.q.out  |   4 +
 .../test/results/clientpositive/llap/merge2.q.out  |   4 +
 .../results/clientpositive/llap/mergejoin.q.out    |  16 ++
 .../llap/metadata_only_queries.q.out               |   5 +
 .../clientpositive/llap/metadataonly1.q.out        |  11 +
 .../test/results/clientpositive/llap/mm_all.q.out  |   1 +
 .../test/results/clientpositive/llap/mm_bhif.q.out |   1 +
 ql/src/test/results/clientpositive/llap/mrr.q.out  |   6 +
 .../clientpositive/llap/multiMapJoin1.q.out        |   7 +
 .../clientpositive/llap/multiMapJoin2.q.out        |  16 ++
 .../llap/multi_count_distinct_null.q.out           |   4 +
 .../results/clientpositive/llap/multi_insert.q.out |  32 +++
 .../llap/multi_insert_lateral_view.q.out           |  31 +++
 .../results/clientpositive/llap/offset_limit.q.out |   1 +
 .../llap/offset_limit_ppd_optimizer.q.out          |   7 +
 .../clientpositive/llap/optimize_join_ptp.q.out    |   1 +
 .../clientpositive/llap/optimize_nullscan.q.out    |   4 +
 .../results/clientpositive/llap/orc_llap.q.out     |  13 ++
 .../results/clientpositive/llap/orc_merge1.q.out   |   3 +
 .../results/clientpositive/llap/orc_merge10.q.out  |   3 +
 .../results/clientpositive/llap/orc_merge2.q.out   |   1 +
 .../results/clientpositive/llap/orc_merge3.q.out   |   1 +
 .../results/clientpositive/llap/orc_merge4.q.out   |   1 +
 .../results/clientpositive/llap/orc_merge5.q.out   |   2 +
 .../results/clientpositive/llap/orc_merge6.q.out   |   2 +
 .../results/clientpositive/llap/orc_merge7.q.out   |   2 +
 .../clientpositive/llap/orc_merge_diff_fs.q.out    |   3 +
 .../clientpositive/llap/orc_merge_incompat1.q.out  |   1 +
 .../clientpositive/llap/orc_merge_incompat2.q.out  |   1 +
 .../results/clientpositive/llap/orc_ppd_date.q.out |   2 +
 .../llap/orc_predicate_pushdown.q.out              |   4 +
 .../llap/orc_struct_type_vectorization.q.out       |   1 +
 .../results/clientpositive/llap/parallel.q.out     |   3 +
 .../clientpositive/llap/parallel_colstats.q.out    |   3 +
 .../llap/parquet_complex_types_vectorization.q.out |   3 +
 .../llap/parquet_map_type_vectorization.q.out      |   1 +
 .../llap/parquet_predicate_pushdown.q.out          |   2 +
 .../llap/parquet_struct_type_vectorization.q.out   |   1 +
 .../llap/parquet_types_vectorization.q.out         |   7 +
 .../results/clientpositive/llap/partialdhj.q.out   |   2 +
 .../clientpositive/llap/partition_ctas.q.out       |   1 +
 .../llap/partition_multilevels.q.out               |   2 +
 ql/src/test/results/clientpositive/llap/ptf.q.out  |   5 +
 .../clientpositive/llap/q93_with_constraints.q.out |   1 +
 .../clientpositive/llap/rcfile_createas1.q.out     |   1 +
 .../clientpositive/llap/rcfile_merge2.q.out        |   1 +
 .../clientpositive/llap/rcfile_merge3.q.out        |   1 +
 .../clientpositive/llap/rcfile_merge4.q.out        |   1 +
 .../clientpositive/llap/reduce_deduplicate.q.out   |   1 +
 .../llap/reduce_deduplicate_distinct.q.out         |   9 +
 .../llap/reduce_deduplicate_extended.q.out         |   4 +
 .../clientpositive/llap/reopt_semijoin.q.out       |   4 +
 .../clientpositive/llap/results_cache_1.q.out      |   3 +
 .../clientpositive/llap/results_cache_2.q.out      |   2 +
 .../llap/results_cache_capacity.q.out              |   2 +
 .../llap/results_cache_diff_fs.q.out               |   1 +
 .../llap/results_cache_empty_result.q.out          |   1 +
 .../llap/results_cache_invalidation.q.out          |   7 +
 .../llap/results_cache_invalidation2.q.out         |   2 +
 .../llap/results_cache_lifetime.q.out              |   1 +
 .../llap/results_cache_quoted_identifiers.q.out    |   1 +
 .../llap/results_cache_temptable.q.out             |   3 +
 .../llap/results_cache_transactional.q.out         |   6 +
 .../llap/results_cache_with_masking.q.out          |   2 +
 .../test/results/clientpositive/llap/sample1.q.out |   1 +
 .../results/clientpositive/llap/sample10.q.out     |   1 +
 .../results/clientpositive/llap/sample10_mm.q.out  |   1 +
 .../clientpositive/llap/selectDistinctStar.q.out   |   8 +
 .../results/clientpositive/llap/semijoin.q.out     |  24 ++
 .../results/clientpositive/llap/semijoin6.q.out    |   7 +
 .../results/clientpositive/llap/semijoin7.q.out    |   7 +
 .../clientpositive/llap/semijoin_hint.q.out        |  44 ++++
 .../clientpositive/llap/semijoin_reddedup.q.out    |   3 +
 .../clientpositive/llap/sharedworkext.q.out        |   2 +
 .../results/clientpositive/llap/skewjoin.q.out     |   6 +
 .../clientpositive/llap/skewjoinopt15.q.out        |   2 +
 .../clientpositive/llap/smb_mapjoin_14.q.out       |  13 ++
 .../clientpositive/llap/smb_mapjoin_17.q.out       |   3 +
 .../clientpositive/llap/smb_mapjoin_18.q.out       |   1 +
 .../clientpositive/llap/smb_mapjoin_6.q.out        |   4 +
 .../results/clientpositive/llap/sqlmerge.q.out     |   3 +
 .../clientpositive/llap/sqlmerge_stats.q.out       |  14 ++
 .../test/results/clientpositive/llap/stats11.q.out |   2 +
 .../clientpositive/llap/stats_only_external.q.out  |   2 +
 .../clientpositive/llap/stats_only_null.q.out      |   2 +
 .../clientpositive/llap/subquery_corr.q.out        |   3 +
 .../clientpositive/llap/subquery_exists.q.out      |   7 +
 .../results/clientpositive/llap/subquery_in.q.out  |  71 ++++++
 .../clientpositive/llap/subquery_in_having.q.out   |  26 +++
 .../clientpositive/llap/subquery_multi.q.out       |  53 +++++
 .../clientpositive/llap/subquery_notin.q.out       |  83 +++++++
 .../clientpositive/llap/subquery_null_agg.q.out    |   2 +
 .../clientpositive/llap/subquery_scalar.q.out      |  78 +++++++
 .../clientpositive/llap/subquery_select.q.out      |  53 +++++
 .../clientpositive/llap/subquery_views.q.out       |   5 +
 .../test/results/clientpositive/llap/sysdb.q.out   |   2 +
 .../test/results/clientpositive/llap/tez_dml.q.out |   4 +
 .../llap/tez_dynpart_hashjoin_1.q.out              |   4 +
 .../clientpositive/llap/tez_input_counters.q.out   |   5 +-
 .../clientpositive/llap/tez_join_hash.q.out        |   2 +
 .../clientpositive/llap/tez_nway_join.q.out        |   4 +
 .../clientpositive/llap/tez_smb_empty.q.out        |   5 +
 .../results/clientpositive/llap/tez_smb_main.q.out |  15 ++
 .../clientpositive/llap/tez_smb_reduce_side.q.out  |   9 +
 .../results/clientpositive/llap/tez_union.q.out    |   1 +
 .../results/clientpositive/llap/tez_union2.q.out   |   4 +
 .../llap/tez_union_dynamic_partition.q.out         |   2 +
 .../llap/tez_union_dynamic_partition_2.q.out       |   2 +
 .../clientpositive/llap/tez_union_group_by.q.out   |   4 +
 .../llap/tez_union_multiinsert.q.out               |  40 ++++
 .../llap/tez_vector_dynpart_hashjoin_1.q.out       |   4 +
 .../test/results/clientpositive/llap/topnkey.q.out |   2 +
 .../test/results/clientpositive/llap/union2.q.out  |   2 +
 .../test/results/clientpositive/llap/union4.q.out  |   4 +
 .../test/results/clientpositive/llap/union5.q.out  |   4 +
 .../test/results/clientpositive/llap/union6.q.out  |   3 +
 .../test/results/clientpositive/llap/union7.q.out  |   3 +
 .../test/results/clientpositive/llap/union9.q.out  |   3 +
 .../clientpositive/llap/unionDistinct_1.q.out      | 133 +++++++++++
 .../clientpositive/llap/unionDistinct_3.q.out      |  47 ++++
 .../clientpositive/llap/union_remove_26.q.out      |  12 +
 .../clientpositive/llap/union_top_level.q.out      |   9 +
 .../llap/vector_adaptor_usage_mode.q.out           |   2 +
 .../clientpositive/llap/vector_aggregate_9.q.out   |   3 +
 .../llap/vector_aggregate_without_gby.q.out        |   1 +
 .../llap/vector_auto_smb_mapjoin_14.q.out          |  14 ++
 .../clientpositive/llap/vector_between_in.q.out    |   7 +
 .../llap/vector_binary_join_groupby.q.out          |   2 +
 .../clientpositive/llap/vector_cast_constant.q.out |   1 +
 .../clientpositive/llap/vector_char_2.q.out        |   2 +
 .../llap/vector_char_varchar_1.q.out               |   2 +
 .../clientpositive/llap/vector_coalesce_2.q.out    |   2 +
 .../clientpositive/llap/vector_complex_all.q.out   |   5 +
 .../results/clientpositive/llap/vector_count.q.out |   2 +
 .../llap/vector_count_distinct.q.out               |   2 +
 .../clientpositive/llap/vector_data_types.q.out    |   1 +
 .../llap/vector_decimal_aggregate.q.out            |   4 +
 .../clientpositive/llap/vector_decimal_join.q.out  |   1 +
 .../llap/vector_decimal_precision.q.out            |   2 +
 .../clientpositive/llap/vector_decimal_udf.q.out   |  14 ++
 .../clientpositive/llap/vector_distinct_2.q.out    |   1 +
 .../clientpositive/llap/vector_groupby_3.q.out     |   1 +
 .../clientpositive/llap/vector_groupby_cube1.q.out |  10 +
 .../llap/vector_groupby_grouping_id1.q.out         |   6 +
 .../llap/vector_groupby_grouping_id2.q.out         |  12 +
 .../llap/vector_groupby_grouping_id3.q.out         |   2 +
 .../llap/vector_groupby_grouping_sets1.q.out       |   7 +
 .../llap/vector_groupby_grouping_sets2.q.out       |   4 +
 .../llap/vector_groupby_grouping_sets3.q.out       |   3 +
 .../llap/vector_groupby_grouping_sets3_dec.q.out   |   3 +
 .../llap/vector_groupby_grouping_sets4.q.out       |   3 +
 .../llap/vector_groupby_grouping_sets5.q.out       |   6 +
 .../llap/vector_groupby_grouping_sets6.q.out       |   2 +
 .../vector_groupby_grouping_sets_grouping.q.out    |  15 ++
 .../llap/vector_groupby_grouping_sets_limit.q.out  |   6 +
 .../llap/vector_groupby_grouping_window.q.out      |   1 +
 .../llap/vector_groupby_mapjoin.q.out              |   2 +
 .../llap/vector_groupby_reduce.q.out               |   5 +
 .../llap/vector_groupby_rollup1.q.out              |   6 +
 .../llap/vector_groupby_sort_11.q.out              |   8 +
 .../llap/vector_groupby_sort_8.q.out               |   1 +
 .../clientpositive/llap/vector_grouping_sets.q.out |   3 +
 .../llap/vector_include_no_sel.q.out               |   1 +
 .../clientpositive/llap/vector_inner_join.q.out    |   1 +
 .../clientpositive/llap/vector_join30.q.out        |  15 ++
 .../clientpositive/llap/vector_join_filters.q.out  |   5 +
 .../clientpositive/llap/vector_join_nulls.q.out    |   5 +
 .../llap/vector_left_outer_join.q.out              |   1 +
 .../llap/vector_leftsemi_mapjoin.q.out             | 113 +++++++++
 .../llap/vector_mapjoin_complex_values.q.out       |   2 +
 .../llap/vector_mapjoin_reduce.q.out               |   4 +
 .../llap/vector_mr_diff_schema_alias.q.out         |   1 +
 .../llap/vector_null_projection.q.out              |   2 +
 .../llap/vector_number_compare_projection.q.out    |   2 +
 .../llap/vector_orc_merge_incompat_schema.q.out    |   1 +
 .../llap/vector_orc_nested_column_pruning.q.out    |  10 +
 .../clientpositive/llap/vector_orderby_5.q.out     |   1 +
 .../clientpositive/llap/vector_outer_join1.q.out   |   1 +
 .../clientpositive/llap/vector_outer_join2.q.out   |   1 +
 .../llap/vector_outer_reference_windowed.q.out     |  10 +
 .../llap/vector_partition_diff_num_cols.q.out      |   5 +
 .../llap/vector_partitioned_date_time.q.out        |   6 +
 .../results/clientpositive/llap/vector_ptf_1.q.out |   1 +
 .../llap/vector_reduce_groupby_decimal.q.out       |   1 +
 .../vector_reduce_groupby_duplicate_cols.q.out     |   1 +
 .../clientpositive/llap/vector_retry_failure.q.out |   1 +
 .../llap/vector_reuse_scratchcols.q.out            |   2 +
 .../clientpositive/llap/vector_string_concat.q.out |   1 +
 .../clientpositive/llap/vector_topnkey.q.out       |   2 +
 .../results/clientpositive/llap/vector_udf1.q.out  |   3 +
 .../llap/vector_when_case_null.q.out               |   1 +
 .../clientpositive/llap/vector_windowing.q.out     |   9 +
 .../clientpositive/llap/vector_windowing_gby.q.out |   1 +
 .../llap/vector_windowing_gby2.q.out               |   4 +
 .../llap/vector_windowing_streaming.q.out          |   1 +
 .../clientpositive/llap/vectorization_0.q.out      |   9 +
 .../clientpositive/llap/vectorization_1.q.out      |   1 +
 .../clientpositive/llap/vectorization_12.q.out     |   1 +
 .../clientpositive/llap/vectorization_13.q.out     |   2 +
 .../clientpositive/llap/vectorization_14.q.out     |   1 +
 .../clientpositive/llap/vectorization_15.q.out     |   1 +
 .../clientpositive/llap/vectorization_16.q.out     |   1 +
 .../clientpositive/llap/vectorization_2.q.out      |   1 +
 .../clientpositive/llap/vectorization_3.q.out      |   1 +
 .../clientpositive/llap/vectorization_4.q.out      |   1 +
 .../clientpositive/llap/vectorization_5.q.out      |   1 +
 .../clientpositive/llap/vectorization_9.q.out      |   1 +
 .../llap/vectorization_input_format_excludes.q.out |   4 +
 .../clientpositive/llap/vectorization_limit.q.out  |   4 +
 .../llap/vectorization_nested_udf.q.out            |   1 +
 .../llap/vectorization_pushdown.q.out              |   1 +
 .../llap/vectorization_short_regress.q.out         |  16 ++
 .../clientpositive/llap/vectorized_case.q.out      |   2 +
 .../llap/vectorized_distinct_gby.q.out             |   3 +
 .../vectorized_dynamic_partition_pruning.q.out     | 130 +++++++++--
 .../vectorized_dynamic_semijoin_reduction.q.out    |  14 ++
 .../vectorized_dynamic_semijoin_reduction2.q.out   |  16 ++
 .../clientpositive/llap/vectorized_mapjoin.q.out   |   1 +
 .../clientpositive/llap/vectorized_mapjoin3.q.out  |   3 +
 .../llap/vectorized_multi_output_select.q.out      |   2 +
 .../llap/vectorized_nested_mapjoin.q.out           |   3 +-
 .../clientpositive/llap/vectorized_parquet.q.out   |   1 +
 .../llap/vectorized_parquet_types.q.out            |   2 +
 .../clientpositive/llap/vectorized_ptf.q.out       |   5 +
 .../llap/vectorized_shufflejoin.q.out              |   1 +
 .../clientpositive/llap/vectorized_timestamp.q.out |   3 +
 .../llap/vectorized_timestamp_funcs.q.out          |   3 +
 .../results/clientpositive/llap/windowing.q.out    |   1 +
 .../results/clientpositive/load_dyn_part1.q.out    |   2 +
 .../results/clientpositive/load_dyn_part10.q.out   |   1 +
 .../results/clientpositive/load_dyn_part13.q.out   |   2 +
 .../results/clientpositive/load_dyn_part14.q.out   |   3 +
 .../results/clientpositive/load_dyn_part2.q.out    |   1 +
 .../results/clientpositive/load_dyn_part3.q.out    |   1 +
 .../results/clientpositive/load_dyn_part4.q.out    |   1 +
 .../results/clientpositive/load_dyn_part8.q.out    |   2 +
 .../results/clientpositive/load_dyn_part9.q.out    |   1 +
 .../results/clientpositive/mapjoin_distinct.q.out  |   2 +
 .../results/clientpositive/mapjoin_mapjoin.q.out   |   1 +
 .../test/results/clientpositive/mapreduce1.q.out   |   1 +
 .../test/results/clientpositive/mapreduce2.q.out   |   1 +
 .../test/results/clientpositive/mapreduce3.q.out   |   1 +
 .../test/results/clientpositive/mapreduce4.q.out   |   1 +
 .../test/results/clientpositive/mapreduce5.q.out   |   1 +
 .../test/results/clientpositive/mapreduce6.q.out   |   1 +
 .../test/results/clientpositive/mapreduce7.q.out   |   1 +
 .../test/results/clientpositive/mapreduce8.q.out   |   1 +
 .../test/results/clientpositive/masking_10.q.out   |   1 +
 .../test/results/clientpositive/masking_12.q.out   |   2 +
 ql/src/test/results/clientpositive/masking_2.q.out |   2 +
 ql/src/test/results/clientpositive/masking_3.q.out |  14 ++
 ql/src/test/results/clientpositive/masking_4.q.out |   2 +
 .../clientpositive/masking_disablecbo_2.q.out      |   2 +
 .../clientpositive/masking_disablecbo_3.q.out      |   7 +
 .../clientpositive/masking_disablecbo_4.q.out      |   1 +
 .../test/results/clientpositive/masking_mv.q.out   |   7 +
 ql/src/test/results/clientpositive/merge1.q.out    |   4 +
 ql/src/test/results/clientpositive/merge2.q.out    |   4 +
 ql/src/test/results/clientpositive/merge3.q.out    |   2 +
 ql/src/test/results/clientpositive/merge4.q.out    |   3 +
 .../clientpositive/merge_dynamic_partition.q.out   |   3 +
 .../clientpositive/merge_dynamic_partition2.q.out  |   1 +
 .../clientpositive/merge_dynamic_partition3.q.out  |   1 +
 .../clientpositive/merge_dynamic_partition4.q.out  |   1 +
 .../clientpositive/merge_dynamic_partition5.q.out  |   1 +
 ql/src/test/results/clientpositive/mergejoin.q.out |  11 +
 .../clientpositive/metadata_only_queries.q.out     |   5 +
 ql/src/test/results/clientpositive/mm_all.q.out    |   1 +
 .../clientpositive/multi_insert_distinct.q.out     |   6 +
 .../results/clientpositive/multi_insert_gby.q.out  |   4 +
 .../results/clientpositive/multi_insert_gby3.q.out |  18 ++
 .../results/clientpositive/multi_insert_gby4.q.out |   3 +
 .../clientpositive/multi_insert_mixed.q.out        |   3 +
 ...ulti_insert_move_tasks_share_dependencies.q.out |  40 ++++
 .../clientpositive/multi_insert_with_join2.q.out   |  14 ++
 .../clientpositive/multigroupby_singlemr.q.out     |  20 ++
 .../clientpositive/nested_column_pruning.q.out     |  10 +
 .../clientpositive/nonblock_op_deduplicate.q.out   |   2 +
 .../test/results/clientpositive/nonmr_fetch.q.out  |   4 +
 .../nonreserved_keywords_insert_into1.q.out        |   3 +
 .../results/clientpositive/notable_alias1.q.out    |   2 +
 .../results/clientpositive/notable_alias2.q.out    |   2 +
 .../results/clientpositive/nullformatCTAS.q.out    |   1 +
 ql/src/test/results/clientpositive/nullgroup.q.out |   2 +
 .../test/results/clientpositive/nullgroup2.q.out   |   2 +
 .../test/results/clientpositive/nullgroup3.q.out   |   4 +
 .../test/results/clientpositive/nullgroup4.q.out   |   2 +
 .../clientpositive/nullgroup4_multi_distinct.q.out |   1 +
 .../results/clientpositive/orc_createas1.q.out     |   2 +
 .../test/results/clientpositive/orc_merge1.q.out   |   3 +
 .../test/results/clientpositive/orc_merge10.q.out  |   3 +
 .../test/results/clientpositive/orc_merge2.q.out   |   1 +
 .../test/results/clientpositive/orc_merge3.q.out   |   1 +
 .../test/results/clientpositive/orc_merge4.q.out   |   1 +
 .../test/results/clientpositive/orc_merge5.q.out   |   2 +
 .../test/results/clientpositive/orc_merge6.q.out   |   2 +
 .../results/clientpositive/orc_merge_diff_fs.q.out |   3 +
 .../clientpositive/orc_merge_incompat1.q.out       |   1 +
 .../clientpositive/orc_merge_incompat2.q.out       |   1 +
 .../clientpositive/orc_nested_column_pruning.q.out |  10 +
 .../orc_struct_type_vectorization.q.out            |   1 +
 ql/src/test/results/clientpositive/order3.q.out    |   6 +
 .../clientpositive/outer_reference_windowed.q.out  |   5 +
 ql/src/test/results/clientpositive/parallel.q.out  |   3 +
 .../results/clientpositive/parallel_colstats.q.out |   3 +
 .../results/clientpositive/parallel_join1.q.out    |   1 +
 .../parquet_complex_types_vectorization.q.out      |   3 +
 .../parquet_map_type_vectorization.q.out           |   1 +
 .../parquet_struct_type_vectorization.q.out        |   1 +
 ...pes_non_dictionary_encoding_vectorization.q.out |   6 +
 .../parquet_types_vectorization.q.out              |   7 +
 .../clientpositive/parquet_vectorization_0.q.out   |   9 +
 .../clientpositive/parquet_vectorization_1.q.out   |   1 +
 .../clientpositive/parquet_vectorization_12.q.out  |   1 +
 .../clientpositive/parquet_vectorization_13.q.out  |   2 +
 .../clientpositive/parquet_vectorization_14.q.out  |   1 +
 .../clientpositive/parquet_vectorization_15.q.out  |   1 +
 .../clientpositive/parquet_vectorization_16.q.out  |   1 +
 .../clientpositive/parquet_vectorization_2.q.out   |   1 +
 .../clientpositive/parquet_vectorization_3.q.out   |   1 +
 .../clientpositive/parquet_vectorization_4.q.out   |   1 +
 .../clientpositive/parquet_vectorization_5.q.out   |   1 +
 .../clientpositive/parquet_vectorization_9.q.out   |   1 +
 .../parquet_vectorization_limit.q.out              |   4 +
 .../parquet_vectorization_pushdown.q.out           |   1 +
 .../clientpositive/partial_column_stats.q.out      |   1 +
 .../clientpositive/partition_boolexpr.q.out        |   3 +
 ql/src/test/results/clientpositive/pcr.q.out       |   4 +
 .../results/clientpositive/perf/spark/query1.q.out |   2 +
 .../clientpositive/perf/spark/query10.q.out        |   4 +
 .../clientpositive/perf/spark/query11.q.out        |   4 +
 .../clientpositive/perf/spark/query12.q.out        |   1 +
 .../clientpositive/perf/spark/query13.q.out        |   1 +
 .../clientpositive/perf/spark/query15.q.out        |   1 +
 .../clientpositive/perf/spark/query16.q.out        |   3 +
 .../clientpositive/perf/spark/query17.q.out        |   1 +
 .../clientpositive/perf/spark/query18.q.out        |   1 +
 .../clientpositive/perf/spark/query19.q.out        |   1 +
 .../results/clientpositive/perf/spark/query2.q.out |   2 +
 .../clientpositive/perf/spark/query20.q.out        |   1 +
 .../clientpositive/perf/spark/query21.q.out        |   1 +
 .../clientpositive/perf/spark/query22.q.out        |   1 +
 .../clientpositive/perf/spark/query23.q.out        |  12 +
 .../clientpositive/perf/spark/query24.q.out        |   3 +
 .../clientpositive/perf/spark/query25.q.out        |   1 +
 .../clientpositive/perf/spark/query26.q.out        |   1 +
 .../clientpositive/perf/spark/query27.q.out        |   1 +
 .../clientpositive/perf/spark/query28.q.out        |   6 +
 .../clientpositive/perf/spark/query29.q.out        |   1 +
 .../results/clientpositive/perf/spark/query3.q.out |   1 +
 .../clientpositive/perf/spark/query30.q.out        |   2 +
 .../clientpositive/perf/spark/query31.q.out        |   6 +
 .../clientpositive/perf/spark/query32.q.out        |   2 +
 .../clientpositive/perf/spark/query33.q.out        |   7 +
 .../clientpositive/perf/spark/query34.q.out        |   1 +
 .../clientpositive/perf/spark/query35.q.out        |   4 +
 .../clientpositive/perf/spark/query36.q.out        |   1 +
 .../clientpositive/perf/spark/query37.q.out        |   1 +
 .../clientpositive/perf/spark/query38.q.out        |   7 +
 .../clientpositive/perf/spark/query39.q.out        |   2 +
 .../results/clientpositive/perf/spark/query4.q.out |   6 +
 .../clientpositive/perf/spark/query40.q.out        |   1 +
 .../clientpositive/perf/spark/query42.q.out        |   1 +
 .../clientpositive/perf/spark/query43.q.out        |   1 +
 .../clientpositive/perf/spark/query44.q.out        |   2 +
 .../clientpositive/perf/spark/query45.q.out        |   3 +
 .../clientpositive/perf/spark/query46.q.out        |   1 +
 .../clientpositive/perf/spark/query47.q.out        |   3 +
 .../clientpositive/perf/spark/query48.q.out        |   1 +
 .../clientpositive/perf/spark/query49.q.out        |   7 +
 .../results/clientpositive/perf/spark/query5.q.out |   6 +
 .../clientpositive/perf/spark/query50.q.out        |   1 +
 .../clientpositive/perf/spark/query51.q.out        |   2 +
 .../clientpositive/perf/spark/query52.q.out        |   1 +
 .../clientpositive/perf/spark/query53.q.out        |   1 +
 .../clientpositive/perf/spark/query54.q.out        |   7 +
 .../clientpositive/perf/spark/query55.q.out        |   1 +
 .../clientpositive/perf/spark/query56.q.out        |   7 +
 .../clientpositive/perf/spark/query57.q.out        |   3 +
 .../clientpositive/perf/spark/query58.q.out        |   9 +
 .../clientpositive/perf/spark/query59.q.out        |   2 +
 .../results/clientpositive/perf/spark/query6.q.out |   5 +
 .../clientpositive/perf/spark/query60.q.out        |   7 +
 .../clientpositive/perf/spark/query61.q.out        |   2 +
 .../clientpositive/perf/spark/query63.q.out        |   1 +
 .../clientpositive/perf/spark/query65.q.out        |   2 +
 .../clientpositive/perf/spark/query66.q.out        |   4 +
 .../clientpositive/perf/spark/query67.q.out        |   1 +
 .../clientpositive/perf/spark/query68.q.out        |   1 +
 .../clientpositive/perf/spark/query69.q.out        |   4 +
 .../results/clientpositive/perf/spark/query7.q.out |   1 +
 .../clientpositive/perf/spark/query70.q.out        |   2 +
 .../clientpositive/perf/spark/query71.q.out        |   1 +
 .../clientpositive/perf/spark/query72.q.out        |   1 +
 .../clientpositive/perf/spark/query73.q.out        |   1 +
 .../clientpositive/perf/spark/query74.q.out        |   4 +
 .../clientpositive/perf/spark/query75.q.out        |   8 +
 .../clientpositive/perf/spark/query76.q.out        |   3 +
 .../clientpositive/perf/spark/query77.q.out        |   9 +
 .../clientpositive/perf/spark/query78.q.out        |   3 +
 .../clientpositive/perf/spark/query79.q.out        |   1 +
 .../results/clientpositive/perf/spark/query8.q.out |   6 +
 .../clientpositive/perf/spark/query80.q.out        |   6 +
 .../clientpositive/perf/spark/query81.q.out        |   2 +
 .../clientpositive/perf/spark/query82.q.out        |   1 +
 .../clientpositive/perf/spark/query83.q.out        |   9 +
 .../clientpositive/perf/spark/query85.q.out        |   1 +
 .../clientpositive/perf/spark/query86.q.out        |   1 +
 .../clientpositive/perf/spark/query87.q.out        |   8 +
 .../clientpositive/perf/spark/query88.q.out        |   8 +
 .../clientpositive/perf/spark/query89.q.out        |   1 +
 .../results/clientpositive/perf/spark/query9.q.out |  15 ++
 .../clientpositive/perf/spark/query90.q.out        |   2 +
 .../clientpositive/perf/spark/query91.q.out        |   1 +
 .../clientpositive/perf/spark/query92.q.out        |   2 +
 .../clientpositive/perf/spark/query93.q.out        |   1 +
 .../clientpositive/perf/spark/query94.q.out        |   3 +
 .../clientpositive/perf/spark/query95.q.out        |   3 +
 .../clientpositive/perf/spark/query96.q.out        |   1 +
 .../clientpositive/perf/spark/query97.q.out        |   3 +
 .../clientpositive/perf/spark/query98.q.out        |   1 +
 .../clientpositive/perf/spark/query99.q.out        |   1 +
 .../clientpositive/position_alias_test_1.q.out     |   1 +
 ql/src/test/results/clientpositive/ppd2.q.out      |   2 +
 .../results/clientpositive/ppd_constant_expr.q.out |   2 +
 ql/src/test/results/clientpositive/ppd_gby.q.out   |   2 +
 ql/src/test/results/clientpositive/ppd_gby2.q.out  |   4 +
 .../test/results/clientpositive/ppd_gby_join.q.out |   2 +
 .../results/clientpositive/ppd_join_filter.q.out   |   4 +
 .../results/clientpositive/ppd_multi_insert.q.out  |   6 +
 .../results/clientpositive/ptfgroupbyjoin.q.out    |   3 +
 ql/src/test/results/clientpositive/quote1.q.out    |   1 +
 .../results/clientpositive/quotedid_basic.q.out    |   3 +
 .../clientpositive/quotedid_partition.q.out        |   1 +
 .../clientpositive/rand_partitionpruner2.q.out     |   1 +
 .../results/clientpositive/rcfile_null_value.q.out |   1 +
 .../reduce_deduplicate_extended2.q.out             |  15 ++
 .../runtime_skewjoin_mapjoin_spark.q.out           |   3 +
 ql/src/test/results/clientpositive/sample1.q.out   |   1 +
 ql/src/test/results/clientpositive/sample5.q.out   |   1 +
 ql/src/test/results/clientpositive/sample6.q.out   |   1 +
 ql/src/test/results/clientpositive/sample7.q.out   |   1 +
 .../sample_islocalmode_hook_use_metadata.q.out     |   2 +
 ql/src/test/results/clientpositive/semijoin2.q.out |   1 +
 ql/src/test/results/clientpositive/semijoin3.q.out |   1 +
 ql/src/test/results/clientpositive/semijoin4.q.out |   1 +
 ql/src/test/results/clientpositive/semijoin5.q.out |   1 +
 .../test/results/clientpositive/setop_subq.q.out   |  14 ++
 ql/src/test/results/clientpositive/skewjoin.q.out  |  10 +
 .../results/clientpositive/skewjoin_mapjoin1.q.out |   4 +
 .../clientpositive/skewjoin_mapjoin10.q.out        |   4 +
 .../results/clientpositive/skewjoin_mapjoin5.q.out |   1 +
 .../results/clientpositive/skewjoin_noskew.q.out   |   1 +
 .../clientpositive/skewjoin_onesideskew.q.out      |   2 +
 .../test/results/clientpositive/skewjoinopt1.q.out |   4 +
 .../test/results/clientpositive/skewjoinopt2.q.out |   4 +
 .../test/results/clientpositive/skewjoinopt9.q.out |   1 +
 .../test/results/clientpositive/smb_mapjoin9.q.out |   1 +
 .../results/clientpositive/smb_mapjoin_11.q.out    |   1 +
 .../results/clientpositive/smb_mapjoin_12.q.out    |   1 +
 .../results/clientpositive/smb_mapjoin_16.q.out    |   1 +
 .../results/clientpositive/smb_mapjoin_20.q.out    |   3 +
 .../results/clientpositive/smb_mapjoin_21.q.out    |   5 +
 .../results/clientpositive/smb_mapjoin_7.q.out     |   1 +
 .../clientpositive/sort_merge_join_desc_1.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_2.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_3.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_4.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_5.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_6.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_7.q.out    |   1 +
 .../clientpositive/sort_merge_join_desc_8.q.out    |   2 +
 .../clientpositive/spark/annotate_stats_join.q.out |   1 +
 .../results/clientpositive/spark/auto_join0.q.out  |   1 +
 .../results/clientpositive/spark/auto_join10.q.out |   1 +
 .../results/clientpositive/spark/auto_join11.q.out |   1 +
 .../results/clientpositive/spark/auto_join12.q.out |   1 +
 .../results/clientpositive/spark/auto_join13.q.out |   1 +
 .../results/clientpositive/spark/auto_join15.q.out |   1 +
 .../results/clientpositive/spark/auto_join16.q.out |   1 +
 .../results/clientpositive/spark/auto_join18.q.out |   3 +
 .../spark/auto_join18_multi_distinct.q.out         |   3 +
 .../results/clientpositive/spark/auto_join20.q.out |   2 +
 .../results/clientpositive/spark/auto_join22.q.out |   1 +
 .../results/clientpositive/spark/auto_join24.q.out |   1 +
 .../results/clientpositive/spark/auto_join26.q.out |   1 +
 .../results/clientpositive/spark/auto_join27.q.out |   2 +
 .../results/clientpositive/spark/auto_join30.q.out |   8 +
 .../results/clientpositive/spark/auto_join31.q.out |   1 +
 .../results/clientpositive/spark/auto_join32.q.out |   4 +
 .../clientpositive/spark/auto_join_filters.q.out   |   3 +
 .../clientpositive/spark/auto_join_nulls.q.out     |   1 +
 .../clientpositive/spark/auto_smb_mapjoin_14.q.out |  13 ++
 .../spark/auto_sortmerge_join_1.q.out              |   3 +
 .../spark/auto_sortmerge_join_12.q.out             |   1 +
 .../spark/auto_sortmerge_join_14.q.out             |   2 +
 .../spark/auto_sortmerge_join_15.q.out             |   2 +
 .../spark/auto_sortmerge_join_2.q.out              |   2 +
 .../spark/auto_sortmerge_join_3.q.out              |   3 +
 .../spark/auto_sortmerge_join_4.q.out              |   3 +
 .../spark/auto_sortmerge_join_5.q.out              |   3 +
 .../spark/auto_sortmerge_join_6.q.out              |  10 +
 .../spark/auto_sortmerge_join_7.q.out              |   3 +
 .../spark/auto_sortmerge_join_8.q.out              |   3 +
 .../spark/auto_sortmerge_join_9.q.out              |  27 +++
 .../clientpositive/spark/bucket_map_join_1.q.out   |   1 +
 .../clientpositive/spark/bucket_map_join_2.q.out   |   1 +
 .../spark/bucket_map_join_tez1.q.out               |  16 ++
 .../spark/bucket_map_join_tez2.q.out               |   8 +
 .../clientpositive/spark/bucketmapjoin10.q.out     |   1 +
 .../clientpositive/spark/bucketmapjoin11.q.out     |   2 +
 .../clientpositive/spark/bucketmapjoin12.q.out     |   2 +
 .../clientpositive/spark/bucketmapjoin13.q.out     |   4 +
 .../clientpositive/spark/bucketmapjoin8.q.out      |   2 +
 .../clientpositive/spark/bucketmapjoin9.q.out      |   2 +
 .../spark/constprog_partitioner.q.out              |   1 +
 .../clientpositive/spark/constprog_semijoin.q.out  |   8 +
 .../test/results/clientpositive/spark/count.q.out  |   3 +
 .../spark/cross_product_check_1.q.out              |   4 +
 .../spark/cross_product_check_2.q.out              |   4 +
 .../clientpositive/spark/dynamic_rdd_cache.q.out   |   6 +
 .../spark/dynpart_sort_optimization.q.out          |   2 +
 .../clientpositive/spark/groupby1_map.q.out        |   1 +
 .../clientpositive/spark/groupby1_map_nomap.q.out  |   1 +
 .../clientpositive/spark/groupby1_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby2_map.q.out        |   1 +
 .../spark/groupby2_map_multi_distinct.q.out        |   2 +
 .../clientpositive/spark/groupby2_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby3_map.q.out        |   1 +
 .../spark/groupby3_map_multi_distinct.q.out        |   1 +
 .../clientpositive/spark/groupby3_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby4_map.q.out        |   1 +
 .../clientpositive/spark/groupby4_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby5_map.q.out        |   1 +
 .../clientpositive/spark/groupby5_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby6_map.q.out        |   1 +
 .../clientpositive/spark/groupby6_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby7_map.q.out        |   1 +
 .../clientpositive/spark/groupby7_map_skew.q.out   |   1 +
 .../clientpositive/spark/groupby8_map_skew.q.out   |   1 +
 .../results/clientpositive/spark/groupby9.q.out    |  10 +
 .../spark/groupby_complex_types.q.out              |   3 +
 ...roupby_complex_types_multi_single_reducer.q.out |   2 +
 .../clientpositive/spark/groupby_cube1.q.out       |   8 +
 .../clientpositive/spark/groupby_map_ppr.q.out     |   1 +
 .../spark/groupby_map_ppr_multi_distinct.q.out     |   1 +
 .../groupby_multi_insert_common_distinct.q.out     |   2 +
 .../clientpositive/spark/groupby_position.q.out    |   8 +
 .../clientpositive/spark/groupby_resolution.q.out  |   5 +
 .../clientpositive/spark/groupby_rollup1.q.out     |   6 +
 .../clientpositive/spark/groupby_sort_1_23.q.out   |   9 +
 .../spark/groupby_sort_skew_1_23.q.out             |   9 +
 .../test/results/clientpositive/spark/having.q.out |   6 +
 .../spark/infer_bucket_sort_map_operators.q.out    |   1 +
 .../clientpositive/spark/insert_into1.q.out        |   1 +
 .../clientpositive/spark/insert_into2.q.out        |   1 +
 .../test/results/clientpositive/spark/join18.q.out |   2 +
 .../spark/join18_multi_distinct.q.out              |   2 +
 .../test/results/clientpositive/spark/join29.q.out |   2 +
 .../test/results/clientpositive/spark/join30.q.out |   1 +
 .../test/results/clientpositive/spark/join31.q.out |   3 +
 .../test/results/clientpositive/spark/join35.q.out |   2 +
 .../test/results/clientpositive/spark/join38.q.out |   1 +
 .../test/results/clientpositive/spark/join40.q.out |   1 +
 .../spark/join_merge_multi_expressions.q.out       |   1 +
 .../spark/lateral_view_explode2.q.out              |   2 +
 .../clientpositive/spark/leftsemijoin.q.out        |   1 +
 .../clientpositive/spark/limit_pushdown.q.out      |   9 +
 .../clientpositive/spark/limit_pushdown2.q.out     |  11 +
 .../clientpositive/spark/mapjoin_distinct.q.out    |   2 +
 .../clientpositive/spark/mapjoin_mapjoin.q.out     |   1 +
 .../test/results/clientpositive/spark/merge1.q.out |   1 +
 .../test/results/clientpositive/spark/merge2.q.out |   1 +
 .../spark/metadata_only_queries.q.out              |   5 +
 .../clientpositive/spark/multi_insert_gby3.q.out   |   9 +
 .../spark/multi_insert_lateral_view.q.out          |  15 ++
 .../clientpositive/spark/multi_insert_mixed.q.out  |   2 +
 .../spark/multigroupby_singlemr.q.out              |   9 +
 .../results/clientpositive/spark/nullgroup.q.out   |   2 +
 .../results/clientpositive/spark/nullgroup2.q.out  |   2 +
 .../results/clientpositive/spark/nullgroup4.q.out  |   2 +
 .../spark/nullgroup4_multi_distinct.q.out          |   1 +
 .../clientpositive/spark/optimize_nullscan.q.out   |   4 +
 .../results/clientpositive/spark/parallel.q.out    |   1 +
 .../spark/parquet_vectorization_0.q.out            |   9 +
 .../spark/parquet_vectorization_1.q.out            |   1 +
 .../spark/parquet_vectorization_12.q.out           |   1 +
 .../spark/parquet_vectorization_13.q.out           |   2 +
 .../spark/parquet_vectorization_14.q.out           |   1 +
 .../spark/parquet_vectorization_15.q.out           |   1 +
 .../spark/parquet_vectorization_16.q.out           |   1 +
 .../spark/parquet_vectorization_2.q.out            |   1 +
 .../spark/parquet_vectorization_3.q.out            |   1 +
 .../spark/parquet_vectorization_4.q.out            |   1 +
 .../spark/parquet_vectorization_5.q.out            |   1 +
 .../spark/parquet_vectorization_9.q.out            |   1 +
 .../spark/parquet_vectorization_limit.q.out        |   4 +
 .../spark/parquet_vectorization_pushdown.q.out     |   1 +
 .../clientpositive/spark/ppd_gby_join.q.out        |   2 +
 .../clientpositive/spark/ppd_join_filter.q.out     |   4 +
 ql/src/test/results/clientpositive/spark/ptf.q.out |   3 +
 .../spark/runtime_skewjoin_mapjoin_spark.q.out     |   3 +
 .../results/clientpositive/spark/sample10.q.out    |   1 +
 .../results/clientpositive/spark/semijoin.q.out    |  24 ++
 .../results/clientpositive/spark/skewjoin.q.out    |   9 +
 .../clientpositive/spark/skewjoinopt1.q.out        |   4 +
 .../clientpositive/spark/skewjoinopt15.q.out       |   4 +
 .../clientpositive/spark/skewjoinopt2.q.out        |   4 +
 .../clientpositive/spark/skewjoinopt9.q.out        |   1 +
 .../clientpositive/spark/smb_mapjoin_14.q.out      |  13 ++
 .../clientpositive/spark/smb_mapjoin_16.q.out      |   1 +
 .../clientpositive/spark/smb_mapjoin_17.q.out      |   3 +
 .../spark/spark_dynamic_partition_pruning.q.out    | 119 ++++++++++
 .../spark/spark_dynamic_partition_pruning_2.q.out  |   8 +
 .../spark/spark_dynamic_partition_pruning_3.q.out  |  22 ++
 .../spark/spark_dynamic_partition_pruning_4.q.out  |  22 ++
 .../spark/spark_dynamic_partition_pruning_5.q.out  |   2 +
 .../spark/spark_dynamic_partition_pruning_6.q.out  |   5 +
 .../spark/spark_dynamic_partition_pruning_7.q.out  |   3 +
 ...rk_dynamic_partition_pruning_mapjoin_only.q.out |   3 +
 .../spark/spark_explain_groupbyshuffle.q.out       |   2 +
 .../spark/spark_in_process_launcher.q.out          |   1 +
 .../clientpositive/spark/spark_use_op_stats.q.out  |   1 +
 ...park_vectorized_dynamic_partition_pruning.q.out | 116 ++++++++++
 .../test/results/clientpositive/spark/stats1.q.out |   1 +
 .../clientpositive/spark/stats_noscan_2.q.out      |   1 +
 .../clientpositive/spark/stats_only_null.q.out     |   2 +
 .../clientpositive/spark/subquery_exists.q.out     |   7 +
 .../results/clientpositive/spark/subquery_in.q.out |  70 ++++++
 .../clientpositive/spark/subquery_multi.q.out      |  55 +++++
 .../spark/subquery_multiinsert.q.out               |   6 +
 .../clientpositive/spark/subquery_notin.q.out      |  82 +++++++
 .../clientpositive/spark/subquery_null_agg.q.out   |   2 +
 .../clientpositive/spark/subquery_scalar.q.out     |  76 ++++++
 .../clientpositive/spark/subquery_select.q.out     |  49 ++++
 .../clientpositive/spark/subquery_views.q.out      |   4 +
 .../results/clientpositive/spark/union10.q.out     |   1 +
 .../results/clientpositive/spark/union11.q.out     |   4 +
 .../results/clientpositive/spark/union12.q.out     |   3 +
 .../results/clientpositive/spark/union14.q.out     |   3 +
 .../results/clientpositive/spark/union15.q.out     |   3 +
 .../results/clientpositive/spark/union16.q.out     |   1 +
 .../results/clientpositive/spark/union17.q.out     |   5 +
 .../results/clientpositive/spark/union18.q.out     |   1 +
 .../results/clientpositive/spark/union19.q.out     |   3 +
 .../test/results/clientpositive/spark/union2.q.out |   1 +
 .../results/clientpositive/spark/union20.q.out     |   1 +
 .../results/clientpositive/spark/union21.q.out     |   5 +
 .../results/clientpositive/spark/union24.q.out     |   2 +
 .../results/clientpositive/spark/union25.q.out     |   4 +
 .../results/clientpositive/spark/union26.q.out     |   3 +
 .../results/clientpositive/spark/union28.q.out     |   1 +
 .../results/clientpositive/spark/union30.q.out     |   1 +
 .../results/clientpositive/spark/union31.q.out     |   7 +
 .../results/clientpositive/spark/union33.q.out     |   2 +
 .../test/results/clientpositive/spark/union4.q.out |   1 +
 .../test/results/clientpositive/spark/union5.q.out |   3 +
 .../test/results/clientpositive/spark/union6.q.out |   1 +
 .../test/results/clientpositive/spark/union7.q.out |   3 +
 .../test/results/clientpositive/spark/union9.q.out |   1 +
 .../clientpositive/spark/union_remove_1.q.out      |   1 +
 .../clientpositive/spark/union_remove_10.q.out     |   1 +
 .../clientpositive/spark/union_remove_13.q.out     |   1 +
 .../clientpositive/spark/union_remove_15.q.out     |   1 +
 .../clientpositive/spark/union_remove_16.q.out     |   1 +
 .../clientpositive/spark/union_remove_18.q.out     |   1 +
 .../clientpositive/spark/union_remove_19.q.out     |   3 +
 .../clientpositive/spark/union_remove_2.q.out      |   1 +
 .../clientpositive/spark/union_remove_20.q.out     |   1 +
 .../clientpositive/spark/union_remove_21.q.out     |   1 +
 .../clientpositive/spark/union_remove_22.q.out     |   2 +
 .../clientpositive/spark/union_remove_23.q.out     |   2 +
 .../clientpositive/spark/union_remove_24.q.out     |   1 +
 .../clientpositive/spark/union_remove_25.q.out     |   1 +
 .../clientpositive/spark/union_remove_4.q.out      |   1 +
 .../clientpositive/spark/union_remove_5.q.out      |   1 +
 .../clientpositive/spark/union_remove_6.q.out      |   1 +
 .../clientpositive/spark/union_remove_6_subq.q.out |   7 +
 .../clientpositive/spark/union_remove_7.q.out      |   1 +
 .../clientpositive/spark/union_remove_8.q.out      |   1 +
 .../clientpositive/spark/union_remove_9.q.out      |   1 +
 .../results/clientpositive/spark/union_view.q.out  |  18 +-
 .../clientpositive/spark/vector_between_in.q.out   |   7 +
 .../spark/vector_cast_constant.q.out               |   1 +
 .../spark/vector_count_distinct.q.out              |   2 +
 .../clientpositive/spark/vector_data_types.q.out   |   1 +
 .../spark/vector_decimal_aggregate.q.out           |   4 +
 .../clientpositive/spark/vector_distinct_2.q.out   |   1 +
 .../clientpositive/spark/vector_groupby_3.q.out    |   1 +
 .../clientpositive/spark/vector_inner_join.q.out   |   1 +
 .../spark/vector_left_outer_join.q.out             |   1 +
 .../spark/vector_mapjoin_reduce.q.out              |   4 +
 .../clientpositive/spark/vector_orderby_5.q.out    |   1 +
 .../clientpositive/spark/vector_outer_join1.q.out  |   1 +
 .../clientpositive/spark/vector_outer_join2.q.out  |   1 +
 .../spark/vector_string_concat.q.out               |   1 +
 .../clientpositive/spark/vectorization_0.q.out     |   9 +
 .../clientpositive/spark/vectorization_1.q.out     |   1 +
 .../clientpositive/spark/vectorization_12.q.out    |   1 +
 .../clientpositive/spark/vectorization_13.q.out    |   2 +
 .../clientpositive/spark/vectorization_14.q.out    |   1 +
 .../clientpositive/spark/vectorization_15.q.out    |   1 +
 .../clientpositive/spark/vectorization_16.q.out    |   1 +
 .../clientpositive/spark/vectorization_2.q.out     |   1 +
 .../clientpositive/spark/vectorization_3.q.out     |   1 +
 .../clientpositive/spark/vectorization_4.q.out     |   1 +
 .../clientpositive/spark/vectorization_5.q.out     |   1 +
 .../clientpositive/spark/vectorization_9.q.out     |   1 +
 .../vectorization_input_format_excludes.q.out      |   4 +
 .../spark/vectorization_nested_udf.q.out           |   1 +
 .../spark/vectorization_parquet_projection.q.out   |   5 +
 .../spark/vectorization_pushdown.q.out             |   1 +
 .../spark/vectorization_short_regress.q.out        |  16 ++
 .../clientpositive/spark/vectorized_case.q.out     |   2 +
 .../clientpositive/spark/vectorized_mapjoin.q.out  |   1 +
 .../spark/vectorized_nested_mapjoin.q.out          |   1 +
 .../clientpositive/spark/vectorized_ptf.q.out      |   3 +
 .../spark/vectorized_shufflejoin.q.out             |   1 +
 .../spark/vectorized_timestamp_funcs.q.out         |   3 +
 .../results/clientpositive/spark/windowing.q.out   |   1 +
 .../clientpositive/stat_estimate_drill.q.out       |   7 +
 ql/src/test/results/clientpositive/stats0.q.out    |   4 +
 ql/src/test/results/clientpositive/stats1.q.out    |   3 +
 ql/src/test/results/clientpositive/stats10.q.out   |   1 +
 ql/src/test/results/clientpositive/stats4.q.out    |   2 +
 .../clientpositive/stats_empty_dyn_part.q.out      |   1 +
 .../results/clientpositive/stats_nonpart.q.out     |   1 +
 .../results/clientpositive/stats_noscan_2.q.out    |   1 +
 .../results/clientpositive/stats_only_null.q.out   |   2 +
 .../test/results/clientpositive/stats_part.q.out   |   1 +
 .../test/results/clientpositive/stats_part2.q.out  |   5 +
 .../results/clientpositive/stats_ppr_all.q.out     |   4 +
 .../results/clientpositive/stats_sizebug.q.out     |   1 +
 ql/src/test/results/clientpositive/subq2.q.out     |   1 +
 .../clientpositive/subq_where_serialization.q.out  |   1 +
 .../results/clientpositive/subquery_exists.q.out   |   7 +
 .../clientpositive/subquery_exists_having.q.out    |   4 +
 .../clientpositive/subquery_multiinsert.q.out      |   8 +
 .../clientpositive/subquery_notexists.q.out        |   5 +
 .../clientpositive/subquery_notexists_having.q.out |   4 +
 .../clientpositive/subquery_notin_having.q.out     |  18 ++
 .../clientpositive/subquery_unqual_corr_expr.q.out |   3 +
 .../clientpositive/subquery_unqualcolumnrefs.q.out |   5 +
 .../clientpositive/symlink_text_input_format.q.out |   2 +
 .../test/results/clientpositive/tablevalues.q.out  |   1 +
 .../temp_table_display_colstats_tbllvl.q.out       |   3 +
 .../tez/acid_vectorization_original_tez.q.out      |   1 +
 .../tez/hybridgrace_hashjoin_1.q.out               |  10 +
 .../tez/hybridgrace_hashjoin_2.q.out               |  14 ++
 .../tez/vector_join_part_col_char.q.out            |   4 +-
 ql/src/test/results/clientpositive/timestamp.q.out |   4 +
 ql/src/test/results/clientpositive/topnkey.q.out   |   2 +
 .../clientpositive/udaf_binarysetfunctions.q.out   |   1 +
 .../udaf_binarysetfunctions_no_cbo.q.out           |   1 +
 .../clientpositive/udaf_number_format.q.out        |   1 +
 .../clientpositive/udaf_percentile_approx_23.q.out |   2 +
 ql/src/test/results/clientpositive/udf1.q.out      |   1 +
 ql/src/test/results/clientpositive/udf3.q.out      |   1 +
 ql/src/test/results/clientpositive/udf8.q.out      |   1 +
 .../test/results/clientpositive/udf_10_trims.q.out |   1 +
 .../clientpositive/udf_character_length.q.out      |   1 +
 ql/src/test/results/clientpositive/udf_count.q.out |   2 +
 .../test/results/clientpositive/udf_explode.q.out  |   2 +
 .../clientpositive/udf_isops_simplify.q.out        |   6 +
 .../test/results/clientpositive/udf_length.q.out   |   1 +
 .../results/clientpositive/udf_octet_length.q.out  |   1 +
 .../test/results/clientpositive/udf_reverse.q.out  |   1 +
 .../test/results/clientpositive/udtf_explode.q.out |   2 +
 .../results/clientpositive/udtf_json_tuple.q.out   |   2 +
 .../clientpositive/udtf_parse_url_tuple.q.out      |   2 +
 ql/src/test/results/clientpositive/union10.q.out   |   6 +
 ql/src/test/results/clientpositive/union11.q.out   |   6 +
 ql/src/test/results/clientpositive/union12.q.out   |   6 +
 ql/src/test/results/clientpositive/union14.q.out   |   3 +
 ql/src/test/results/clientpositive/union15.q.out   |   4 +
 ql/src/test/results/clientpositive/union16.q.out   |  25 ++
 ql/src/test/results/clientpositive/union17.q.out   |   7 +
 ql/src/test/results/clientpositive/union18.q.out   |   5 +
 ql/src/test/results/clientpositive/union19.q.out   |   6 +
 ql/src/test/results/clientpositive/union2.q.out    |   2 +
 ql/src/test/results/clientpositive/union20.q.out   |   2 +
 ql/src/test/results/clientpositive/union21.q.out   |   5 +
 ql/src/test/results/clientpositive/union22.q.out   |   2 +
 ql/src/test/results/clientpositive/union24.q.out   |   2 +
 ql/src/test/results/clientpositive/union25.q.out   |   5 +
 ql/src/test/results/clientpositive/union26.q.out   |   3 +
 ql/src/test/results/clientpositive/union28.q.out   |   5 +
 ql/src/test/results/clientpositive/union29.q.out   |   3 +
 ql/src/test/results/clientpositive/union30.q.out   |   6 +
 ql/src/test/results/clientpositive/union31.q.out   |  13 ++
 ql/src/test/results/clientpositive/union33.q.out   |   6 +
 ql/src/test/results/clientpositive/union4.q.out    |   4 +
 ql/src/test/results/clientpositive/union5.q.out    |   4 +
 ql/src/test/results/clientpositive/union6.q.out    |   3 +
 ql/src/test/results/clientpositive/union7.q.out    |   3 +
 ql/src/test/results/clientpositive/union9.q.out    |   3 +
 .../results/clientpositive/union_lateralview.q.out |   1 +
 .../results/clientpositive/union_pos_alias.q.out   |   7 +
 .../results/clientpositive/union_remove_1.q.out    |   2 +
 .../results/clientpositive/union_remove_10.q.out   |   1 +
 .../results/clientpositive/union_remove_13.q.out   |   1 +
 .../results/clientpositive/union_remove_15.q.out   |   2 +
 .../results/clientpositive/union_remove_16.q.out   |   2 +
 .../results/clientpositive/union_remove_18.q.out   |   2 +
 .../results/clientpositive/union_remove_19.q.out   |   6 +
 .../results/clientpositive/union_remove_2.q.out    |   1 +
 .../results/clientpositive/union_remove_20.q.out   |   2 +
 .../results/clientpositive/union_remove_21.q.out   |   2 +
 .../results/clientpositive/union_remove_22.q.out   |   4 +
 .../results/clientpositive/union_remove_23.q.out   |   2 +
 .../results/clientpositive/union_remove_24.q.out   |   2 +
 .../results/clientpositive/union_remove_25.q.out   |   2 +
 .../results/clientpositive/union_remove_4.q.out    |   2 +
 .../results/clientpositive/union_remove_5.q.out    |   1 +
 .../results/clientpositive/union_remove_6.q.out    |   2 +
 .../clientpositive/union_remove_6_subq.q.out       |  10 +
 .../results/clientpositive/union_remove_7.q.out    |   2 +
 .../results/clientpositive/union_remove_8.q.out    |   1 +
 .../results/clientpositive/union_remove_9.q.out    |   1 +
 .../results/clientpositive/union_remove_plan.q.out |   2 +
 .../test/results/clientpositive/union_view.q.out   |  12 +
 .../clientpositive/vector_aggregate_9.q.out        |   3 +
 .../vector_aggregate_without_gby.q.out             |   1 +
 .../vector_binary_join_groupby.q.out               |   2 +
 .../clientpositive/vector_cast_constant.q.out      |   1 +
 .../results/clientpositive/vector_char_2.q.out     |   2 +
 .../results/clientpositive/vector_coalesce_2.q.out |   2 +
 .../test/results/clientpositive/vector_count.q.out |   2 +
 .../results/clientpositive/vector_data_types.q.out |   1 +
 .../clientpositive/vector_decimal_aggregate.q.out  |   4 +
 .../clientpositive/vector_decimal_join.q.out       |   1 +
 .../clientpositive/vector_decimal_precision.q.out  |   2 +
 .../clientpositive/vector_delete_orig_table.q.out  |   1 +
 .../results/clientpositive/vector_distinct_2.q.out |   1 +
 .../clientpositive/vector_empty_where.q.out        |   4 +
 .../results/clientpositive/vector_groupby_3.q.out  |   1 +
 .../clientpositive/vector_groupby_mapjoin.q.out    |   2 +
 .../clientpositive/vector_groupby_reduce.q.out     |   5 +
 .../clientpositive/vector_grouping_sets.q.out      |   3 +
 .../clientpositive/vector_include_no_sel.q.out     |   1 +
 .../clientpositive/vector_left_outer_join.q.out    |   1 +
 .../vector_mr_diff_schema_alias.q.out              |   1 +
 .../clientpositive/vector_null_projection.q.out    |   2 +
 .../results/clientpositive/vector_orderby_5.q.out  |   1 +
 .../clientpositive/vector_outer_join1.q.out        |   1 +
 .../clientpositive/vector_outer_join2.q.out        |   1 +
 .../clientpositive/vector_outer_join3.q.out        |   6 +-
 .../clientpositive/vector_outer_join4.q.out        |   2 +-
 .../clientpositive/vector_outer_join_no_keys.q.out |   2 +
 .../vector_reduce_groupby_decimal.q.out            |   1 +
 .../vector_reduce_groupby_duplicate_cols.q.out     |   1 +
 .../clientpositive/vector_string_concat.q.out      |   1 +
 .../clientpositive/vector_tablesample_rows.q.out   |   1 +
 .../results/clientpositive/vector_topnkey.q.out    |   2 +
 .../clientpositive/vector_when_case_null.q.out     |   1 +
 .../results/clientpositive/vectorization_1.q.out   |   1 +
 .../results/clientpositive/vectorization_12.q.out  |   1 +
 .../results/clientpositive/vectorization_13.q.out  |   2 +
 .../results/clientpositive/vectorization_14.q.out  |   1 +
 .../results/clientpositive/vectorization_15.q.out  |   1 +
 .../results/clientpositive/vectorization_16.q.out  |   1 +
 .../results/clientpositive/vectorization_2.q.out   |   1 +
 .../results/clientpositive/vectorization_3.q.out   |   1 +
 .../results/clientpositive/vectorization_4.q.out   |   1 +
 .../results/clientpositive/vectorization_5.q.out   |   1 +
 .../results/clientpositive/vectorization_9.q.out   |   1 +
 .../clientpositive/vectorization_limit.q.out       |   4 +
 .../clientpositive/vectorization_nested_udf.q.out  |   1 +
 .../vectorization_parquet_projection.q.out         |   5 +
 .../clientpositive/vectorization_pushdown.q.out    |   1 +
 .../results/clientpositive/vectorized_case.q.out   |   2 +
 .../clientpositive/vectorized_distinct_gby.q.out   |   2 +
 .../clientpositive/vectorized_mapjoin.q.out        |   1 +
 .../clientpositive/vectorized_mapjoin2.q.out       |   1 +
 .../clientpositive/vectorized_mapjoin3.q.out       |   3 +
 .../clientpositive/vectorized_parquet_types.q.out  |   2 +
 .../clientpositive/vectorized_shufflejoin.q.out    |   1 +
 .../clientpositive/vectorized_timestamp.q.out      |   3 +
 .../vectorized_timestamp_funcs.q.out               |   3 +
 ql/src/test/results/clientpositive/view_cbo.q.out  |   5 +
 .../results/clientpositive/windowing_gby2.q.out    |   4 +
 1364 files changed, 6830 insertions(+), 105 deletions(-)
 create mode 100644 ql/src/java/org/apache/hadoop/hive/ql/optimizer/SetHashGroupByMinReduction.java


Mime
View raw message