Michael Smith created IMPALA-13061:
--------------------------------------
Summary: Query Live table fails to load if
default_transactional_type=insert_only set globally
Key: IMPALA-13061
URL: https://issues.apache.org/jira/browse/IMPALA-13061
Project: IMPALA
Issue Type: Bug
Reporter: Michael Smith
If transactional type defaults to insert_only for all queries via
{code}
--default_query_options=default_transactional_type=insert_only
{code}
the table definition for {{sys.impala_query_live}} is set to transactional,
which causes an exception in catalogd
{code}
I0506 22:07:42.808758 3972 jni-util.cc:302] 4547b965aeebc5f0:8ba96c5800000000]
java.lang.IllegalStateException
at
com.google.common.base.Preconditions.checkState(Preconditions.java:496)
at org.apache.impala.catalog.Table.getPartialInfo(Table.java:851)
at
org.apache.impala.catalog.CatalogServiceCatalog.doGetPartialCatalogObject(CatalogServiceCatalog.java:3818)
at
org.apache.impala.catalog.CatalogServiceCatalog.getPartialCatalogObject(CatalogServiceCatalog.java:3714)
at
org.apache.impala.catalog.CatalogServiceCatalog.getPartialCatalogObject(CatalogServiceCatalog.java:3681)
at
org.apache.impala.service.JniCatalog.lambda$getPartialCatalogObject$10(JniCatalog.java:431)
at
org.apache.impala.service.JniCatalogOp.lambda$execAndSerialize$1(JniCatalogOp.java:90)
at org.apache.impala.service.JniCatalogOp.execOp(JniCatalogOp.java:58)
at
org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:89)
at
org.apache.impala.service.JniCatalogOp.execAndSerializeSilentStartAndFinish(JniCatalogOp.java:109)
at
org.apache.impala.service.JniCatalog.execAndSerializeSilentStartAndFinish(JniCatalog.java:253)
at
org.apache.impala.service.JniCatalog.getPartialCatalogObject(JniCatalog.java:430)
{code}
We need to override that setting while creating {{sys.impala_query_live}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)