diff --git ql/src/test/queries/clientpositive/auto_join26.q ql/src/test/queries/clientpositive/auto_join26.q index 1a0ae9d..16fbfe6 100644 --- ql/src/test/queries/clientpositive/auto_join26.q +++ ql/src/test/queries/clientpositive/auto_join26.q @@ -1,10 +1,10 @@ -CREATE TABLE dest_j1(key INT, cnt INT); -set hive.auto.convert.join = true; -EXPLAIN -INSERT OVERWRITE TABLE dest_j1 -SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; - -INSERT OVERWRITE TABLE dest_j1 -SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; - -select * from dest_j1 x order by x.key; +CREATE TABLE dest_j1(key INT, cnt INT); +set hive.auto.convert.join = true; +EXPLAIN +INSERT OVERWRITE TABLE dest_j1 +SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; + +INSERT OVERWRITE TABLE dest_j1 +SELECT x.key, count(1) FROM src1 x JOIN src y ON (x.key = y.key) group by x.key; + +select * from dest_j1 x order by x.key;