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

Select * with EXPAND_COMPLEX_TYPES=1 and explicit complex types fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Frontend
    • None

    Description

      If EXPAND_COMPLEX_TYPES is set to true, some queries that combine star expressions and explicitly given complex columns fail:

      select outer_struct, * from functional_orc_def.complextypes_nested_structs;
      ERROR: IllegalStateException: Illegal reference to non-materialized slot: tid=1 sid=1
      select *, outer_struct.str from functional_orc_def.complextypes_nested_structs;
      ERROR: IllegalStateException: null

      Having two stars in a table with complex columns also fails.

      select *, * from functional_orc_def.complextypes_nested_structs;
      ERROR: IllegalStateException: Illegal reference to non-materialized slot: tid=6 sid=13

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: