Files
impala/testdata/workloads/functional-query/queries/QueryTest/views-compatibility-hive3-only.test
Zoltan Borok-Nagy 6839d9738b IMPALA-8524: part2: Avoid calling "hive" via command line in EE tests
"hive -e SQL..." without further parameters no longer works
when USE_CDP_HIVE=true (it doesn't establish a connection).
Some tests used this to load data.

part2: there were some places that still called hive without
a beeline connection.

I had to break up views-compatibility.test for the different versions
of Hive.

Change-Id: Ia45b64cc1da78190e6f239a5f462308d7fa56f4b
Reviewed-on: http://gerrit.cloudera.org:8080/13402
Reviewed-by: Zoltan Borok-Nagy <boroknagyz@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2019-05-24 15:08:19 +00:00

16 lines
462 B
Plaintext

====
---- CREATE_VIEW
# Create a view in Impala with plan hints. Hive should recognize the hints as
# comments and ignore them.
create view test as
select /* +straight_join */ a.* from functional.alltypestiny a
inner join /* +broadcast */ functional.alltypes b on a.id = b.id
inner join /* +shuffle */ functional.alltypessmall c on b.id = c.id;
---- CREATE_VIEW_RESULTS
IMPALA=SUCCESS
HIVE=SUCCESS
---- QUERY_IMPALA_VIEW_RESULTS
IMPALA=SUCCESS
HIVE=SUCCESS
====