You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Daniel Becker (Jira)" <ji...@apache.org> on 2022/10/28 14:03:00 UTC

[jira] [Created] (IMPALA-11692) Struct slot memory sharing involving select * not working properly

Daniel Becker created IMPALA-11692:
--------------------------------------

             Summary: Struct slot memory sharing involving select * not working properly 
                 Key: IMPALA-11692
                 URL: https://issues.apache.org/jira/browse/IMPALA-11692
             Project: IMPALA
          Issue Type: Bug
            Reporter: Daniel Becker
            Assignee: Daniel Becker


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:
{code:java}
explain select * from functional_orc_def.complextypes_nested_structs;
row-size=64B{code}
{code:java}
explain select *, outer_struct.inner_struct1 from functional_orc_def.complextypes_nested_structs;
row-size=80B{code}
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.



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