mirror of
https://github.com/apache/impala.git
synced 2026-01-22 09:01:58 -05:00
Provides up-to-date error messages for acid tables. Makes minor code change for ensureTableWriteSupported after HIVEMANAGEDINSERTWRITE is enabled. Tests: Fixed and tested AnalyerTest Fixed acid-negative test Ran all core tests for Hive 3 Change-Id: I732bf651405c9ed75d1843390050b786720e3ffe Reviewed-on: http://gerrit.cloudera.org:8080/14133 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Zoltan Borok-Nagy <boroknagyz@cloudera.com>
18 lines
691 B
Plaintext
18 lines
691 B
Plaintext
====
|
|
---- QUERY
|
|
alter table functional.insert_only_transactional_table change column x y bigint;
|
|
---- CATCH
|
|
AnalysisException: ALTER TABLE not supported on transactional (ACID) table: functional.insert_only_transactional_table
|
|
====
|
|
---- QUERY
|
|
drop stats functional.insert_only_transactional_table;
|
|
---- CATCH
|
|
AnalysisException: DROP STATS not supported on transactional (ACID) table: functional.insert_only_transactional_table
|
|
====
|
|
---- QUERY
|
|
select * from functional_orc_def.full_transactional_table;
|
|
---- CATCH
|
|
AnalysisException: Table functional_orc_def.full_transactional_table not supported. Transactional (ACID) tables are only supported when they are configured as insert_only.
|
|
====
|
|
|