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

Struct slot memory sharing involving select * not working properly

    XMLWordPrintableJSON

Details

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

    Description

      With EXPAND_COMPLEX_TYPES=1, if there are structs coming from the star expansion and members of the structs are also given explicitly, slot memory sharing does not work in some cases:

      explain select * from functional_orc_def.complextypes_nested_structs;
      row-size=64B
      explain select *, outer_struct.inner_struct1 from functional_orc_def.complextypes_nested_structs;
      row-size=80B

      The row size should be the same in both cases as outer_struct.inner_struct1 is part of outer_struct which is included in the star.

      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: