Daniel Becker created IMPALA-11687:
--------------------------------------

             Summary: Select * with EXPAND_COMPLEX_TYPES=1 and explicit complex 
types fails
                 Key: IMPALA-11687
                 URL: https://issues.apache.org/jira/browse/IMPALA-11687
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Daniel Becker
            Assignee: Daniel Becker


If EXPAND_COMPLEX_TYPES is set to true, some queries that combine star 
expressions and explicitly given complex columns fail:
{code:java}
select outer_struct, * from functional_orc_def.complextypes_nested_structs;
ERROR: IllegalStateException: Illegal reference to non-materialized slot: tid=1 
sid=1{code}
{code:java}
select *, outer_struct.str from functional_orc_def.complextypes_nested_structs;
ERROR: IllegalStateException: null{code}
Having two stars in a table with complex columns also fails.
{code:java}
select *, * from functional_orc_def.complextypes_nested_structs;{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