Files
impala/testdata/workloads/functional-query/queries/QueryTest/disable-orc-scanner.test
Tim Armstrong 0e1f304e6b IMPALA-7792: fix disabling of ORC scans
The previous approach could lead to hangs or cryptic error messages
because it removed the ORC data type from a lookup table.
Instead check explicitly in the planner for ORC scans and throw a
more helpful error message.

Testing:
Added custom cluster test to exercise code and check error message.

Change-Id: I209e79b18745c48d0182800a916d6566083f4609
Reviewed-on: http://gerrit.cloudera.org:8080/11835
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2018-11-01 07:30:58 +00:00

8 lines
190 B
Plaintext

====
---- QUERY
# Test that running with ORC scanner disabled fails gracefully.
select * from functional_orc_def.alltypes
---- CATCH
ORC scans are disabled by --enable_orc_scanner flag
====