Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12776

Query with unnest crashes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Backend, Frontend
    • None

    Description

      The following query crashes Impala:

      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";

      impalad.FATAL contains the following:

      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=[])

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.becker Daniel Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: