Sudhanshu Arora has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/13047 )
Change subject: [acid] Disallow any operation on full acid table. ...................................................................... [acid] Disallow any operation on full acid table. Added a simple check to disallow any operation on fully acid table. Testing Done: - I still need to figure out how to add a test case for this. - Executed the following sql on mini-cluster >CREATE TABLE tm (a int, b int) TBLPROPERTIES >('transactional'='true', >'transactional_properties'='insert_only'); >select * from tm; >CREATE TABLE tm2 (a int, b int) stored as orc TBLPROPERTIES >('transactional'='true'); >Select * from tm2; The above select failed with Analysis exception. Change-Id: Ifb92e5b691bf192980f2cc7d68c491bb1e8455ac --- M fe/src/main/java/org/apache/impala/analysis/BaseTableRef.java 1 file changed, 21 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/13047/2 -- To view, visit http://gerrit.cloudera.org:8080/13047 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ifb92e5b691bf192980f2cc7d68c491bb1e8455ac Gerrit-Change-Number: 13047 Gerrit-PatchSet: 2 Gerrit-Owner: Sudhanshu Arora <sudhan...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com>