Quanlong Huang created IMPALA-9685:
--------------------------------------

             Summary: IllegalStateException when using Full-ACID tables in 
LocalCatalog mode
                 Key: IMPALA-9685
                 URL: https://issues.apache.org/jira/browse/IMPALA-9685
             Project: IMPALA
          Issue Type: Bug
            Reporter: Quanlong Huang
            Assignee: Quanlong Huang


IMPALA-9484 adds the initial support for reading full acid tables. However, it 
breaks in LocalCatalog mode.

*Reproduction*
 Launch impala in LocalCatalog mode, create a full-acid table and use it:
{code:sql}
create table my_tbl (id int) stored as orc 
tblproperties('transactional'='true');
show create table my_tbl;
ERROR: IllegalStateException: null
{code}
Got the stacktrace in logs:
{code:java}
I0422 01:39:35.084354  5867 jni-util.cc:288] 594ad640fd7d8588:f9746b0e00000000] 
java.lang.IllegalStateException
        at 
com.google.common.base.Preconditions.checkState(Preconditions.java:492)
        at 
org.apache.impala.analysis.ToSqlUtils.getCreateTableSql(ToSqlUtils.java:329)
        at 
org.apache.impala.service.JniFrontend.showCreateTable(JniFrontend.java:469)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to