You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Alexander Behm (JIRA)" <ji...@apache.org> on 2017/06/22 18:32:00 UTC

[jira] [Created] (IMPALA-5562) Query involving nested array and limit 0 hits IllegalStateException

Alexander Behm created IMPALA-5562:
--------------------------------------

             Summary: Query involving nested array and limit 0 hits IllegalStateException
                 Key: IMPALA-5562
                 URL: https://issues.apache.org/jira/browse/IMPALA-5562
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 2.9.0
            Reporter: Alexander Behm
            Assignee: Alexander Behm
            Priority: Blocker


Queries involving nested collections (array and map) and limit 0 hit a Preconditions check.

{code}
explain select * from tpch_nested_parquet.customer c, c.c_orders limit 0;
ERROR: IllegalStateException: null
{code}

Stack:
{code}
I0622 11:26:44.929339 23672 jni-util.cc:176] java.lang.IllegalStateException
	at com.google.common.base.Preconditions.checkState(Preconditions.java:129)
	at org.apache.impala.analysis.TupleDescriptor.recomputeMemLayout(TupleDescriptor.java:239)
	at org.apache.impala.planner.SingleNodePlanner.unmarkCollectionSlots(SingleNodePlanner.java:242)
	at org.apache.impala.planner.SingleNodePlanner.createEmptyNode(SingleNodePlanner.java:217)
	at org.apache.impala.planner.SingleNodePlanner.createQueryPlan(SingleNodePlanner.java:252)
	at org.apache.impala.planner.SingleNodePlanner.createSingleNodePlan(SingleNodePlanner.java:149)
	at org.apache.impala.planner.Planner.createPlan(Planner.java:90)
	at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1008)
	at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1104)
	at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:156)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)