Daniel Becker created IMPALA-12776:
--------------------------------------

             Summary: Query with unnest crashes
                 Key: IMPALA-12776
                 URL: https://issues.apache.org/jira/browse/IMPALA-12776
             Project: IMPALA
          Issue Type: Bug
          Components: Backend, Frontend
            Reporter: Daniel Becker


The following query crashes Impala:
{code:java}
with v as (select arr1, arr2 from complextypes_arrays
           union all select arr1, arr2 from complextypes_arrays), 
     v2 as (select unnest(arr1) a1, unnest(arr2) a2 from v)
select * from v2 where a2="one";{code}
impalad.FATAL contains the following:
{code:java}
F0131 15:31:14.629303 1465911 descriptors.cc:474] 
e5433fb2f048d1e5:eb14151f00000000] Check failed: id < tuple_idx_map_.size() (2 
vs. 1) RowDescriptor: Tuple(id=0 size=25 slots=[Slot(id=0 type=ARRAY 
col_path=[1] children_tuple_id=1 offset=0 null=(offset=24 mask=1) slot_idx=0 
field_idx=0), Slot(id=2 type=ARRAY col_path=[2] children_tuple_id=2 offset=12 
null=(offset=24 mask=2) slot_idx=1 field_idx=1)] tuple_path=[]){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to