Files
impala/testdata/workloads/functional-query/queries/QueryTest/acid-negative.test
Yongzhi Chen 3f4cbe9617 IMPALA-8889: Fix error messages for unsupported operations on acid tables
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>
2019-08-27 11:58:07 +00:00

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.
====