diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java b/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java index cf8cea7fec..ac609df86b 100644 --- a/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java +++ b/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java @@ -231,8 +231,6 @@ public MiniLlapLocalCliConfig() { excludeQuery("union_fast_stats.q"); // Disabled in HIVE-19509 excludeQuery("schema_evol_orc_acidvec_part.q"); // Disabled in HIVE-19509 excludeQuery("schema_evol_orc_vec_part_llap_io.q"); // Disabled in HIVE-19509 - excludeQuery("tez_dynpart_hashjoin_1.q"); // Disabled in HIVE-19509 - excludeQuery("tez_vector_dynpart_hashjoin_1.q"); // Disabled in HIVE-19509 setResultsDir("ql/src/test/results/clientpositive/llap"); setLogDir("itests/qtest/target/qfile-results/clientpositive"); diff --git a/ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q b/ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q index 8d5b442a36..16e4d7fa9d 100644 --- a/ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q +++ b/ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q @@ -41,7 +41,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; select a.csmallint, count(*) c1 @@ -49,7 +49,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; set hive.auto.convert.join=true; set hive.optimize.dynamic.partition.hashjoin=true; diff --git a/ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q b/ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q index 66e3523bac..f828471797 100644 --- a/ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q +++ b/ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q @@ -42,7 +42,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; select a.csmallint, count(*) c1 @@ -50,7 +50,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; set hive.auto.convert.join=true; set hive.optimize.dynamic.partition.hashjoin=true; @@ -94,7 +94,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; select a.csmallint, count(*) c1 @@ -102,4 +102,4 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1; +order by a.csmallint; diff --git a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out index e9c6771493..8f0572b875 100644 --- a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out +++ b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out @@ -262,7 +262,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY POSTHOOK: query: explain select @@ -271,7 +271,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage @@ -359,15 +359,15 @@ STAGE PLANS: outputColumnNames: _col0, _col1 Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE Reduce Output Operator - key expressions: _col1 (type: bigint) + key expressions: _col0 (type: smallint) sort order: + Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE - value expressions: _col0 (type: smallint) + value expressions: _col1 (type: bigint) Reducer 4 Execution mode: vectorized, llap Reduce Operator Tree: Select Operator - expressions: VALUE._col0 (type: smallint), KEY.reducesinkkey0 (type: bigint) + expressions: KEY.reducesinkkey0 (type: smallint), VALUE._col0 (type: bigint) outputColumnNames: _col0, _col1 Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE File Output Operator @@ -390,7 +390,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY PREHOOK: Input: default@alltypesorc #### A masked pattern was here #### @@ -400,15 +400,15 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY POSTHOOK: Input: default@alltypesorc #### A masked pattern was here #### +NULL 6 +-13036 1 -8915 1 -3799 1 10782 1 --13036 1 -NULL 6 PREHOOK: query: explain select * diff --git a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out index 68b68c4ba2..d7661aac50 100644 --- a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out +++ b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out @@ -262,7 +262,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY POSTHOOK: query: explain select @@ -271,7 +271,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage @@ -359,15 +359,15 @@ STAGE PLANS: outputColumnNames: _col0, _col1 Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE Reduce Output Operator - key expressions: _col1 (type: bigint) + key expressions: _col0 (type: smallint) sort order: + Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE - value expressions: _col0 (type: smallint) + value expressions: _col1 (type: bigint) Reducer 4 Execution mode: vectorized, llap Reduce Operator Tree: Select Operator - expressions: VALUE._col0 (type: smallint), KEY.reducesinkkey0 (type: bigint) + expressions: KEY.reducesinkkey0 (type: smallint), VALUE._col0 (type: bigint) outputColumnNames: _col0, _col1 Statistics: Num rows: 623 Data size: 7064 Basic stats: COMPLETE Column stats: COMPLETE File Output Operator @@ -390,7 +390,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY PREHOOK: Input: default@alltypesorc #### A masked pattern was here #### @@ -400,15 +400,15 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY POSTHOOK: Input: default@alltypesorc #### A masked pattern was here #### +NULL 6 +-13036 1 -8915 1 -3799 1 10782 1 --13036 1 -NULL 6 PREHOOK: query: explain select * @@ -679,7 +679,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY POSTHOOK: query: explain select @@ -688,7 +688,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-1 is a root stage @@ -779,15 +779,15 @@ STAGE PLANS: outputColumnNames: _col0, _col1 Statistics: Num rows: 750 Data size: 177548 Basic stats: COMPLETE Column stats: NONE Reduce Output Operator - key expressions: _col1 (type: bigint) + key expressions: _col0 (type: smallint) sort order: + Statistics: Num rows: 750 Data size: 177548 Basic stats: COMPLETE Column stats: NONE - value expressions: _col0 (type: smallint) + value expressions: _col1 (type: bigint) Reducer 4 Execution mode: vectorized, llap Reduce Operator Tree: Select Operator - expressions: VALUE._col0 (type: smallint), KEY.reducesinkkey0 (type: bigint) + expressions: KEY.reducesinkkey0 (type: smallint), VALUE._col0 (type: bigint) outputColumnNames: _col0, _col1 Statistics: Num rows: 750 Data size: 177548 Basic stats: COMPLETE Column stats: NONE File Output Operator @@ -810,7 +810,7 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint PREHOOK: type: QUERY PREHOOK: Input: default@alltypesorc #### A masked pattern was here #### @@ -820,12 +820,12 @@ from alltypesorc a join alltypesorc b on a.cint = b.cint where a.cint between 1000000 and 3000000 and b.cbigint is not null group by a.csmallint -order by c1 +order by a.csmallint POSTHOOK: type: QUERY POSTHOOK: Input: default@alltypesorc #### A masked pattern was here #### +NULL 6 -13036 1 -8915 1 -3799 1 10782 1 -NULL 6