mirror of
https://github.com/apache/impala.git
synced 2026-01-22 09:01:58 -05:00
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>
8 lines
190 B
Plaintext
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
|
|
====
|