diff --git pom.xml pom.xml
index 15c2805..b426d00 100644
--- pom.xml
+++ pom.xml
@@ -159,7 +159,7 @@
1.0.1
1.7.5
4.0.4
- 0.5.2
+ 0.7.1-SNAPSHOT
2.2.0
1.4.0
2.10
diff --git ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q
index e3325c4..42b3bf6 100644
--- ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q
+++ ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_1.q
@@ -47,7 +47,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 c1, a.csmallint;
set hive.auto.convert.join=true;
set hive.optimize.dynamic.partition.hashjoin=true;
@@ -98,4 +98,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 c1, a.csmallint;
diff --git ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q
index 65fee16..5a2d71b 100644
--- ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q
+++ ql/src/test/queries/clientpositive/tez_vector_dynpart_hashjoin_1.q
@@ -47,7 +47,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 c1, a.csmallint;
set hive.auto.convert.join=true;
set hive.optimize.dynamic.partition.hashjoin=true;
@@ -99,4 +99,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 c1, a.csmallint;