Sudhanshu Arora has uploaded this change for review. ( 
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, 20 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/13047/1
--
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: newchange
Gerrit-Change-Id: Ifb92e5b691bf192980f2cc7d68c491bb1e8455ac
Gerrit-Change-Number: 13047
Gerrit-PatchSet: 1
Gerrit-Owner: Sudhanshu Arora <sudhan...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com>

Reply via email to