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

[jira] [Created] (IMPALA-11722) Wrong error message when unsupported complex type comes from * expression

Daniel Becker created IMPALA-11722:
--------------------------------------

             Summary: Wrong error message when unsupported complex type comes from * expression
                 Key: IMPALA-11722
                 URL: https://issues.apache.org/jira/browse/IMPALA-11722
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Daniel Becker


The following query fails with a NullPointerException:

 
{code:java}
select * from functional_orc_def.complextypestbl;
ERROR: NullPointerException: null
{code}
 

The table contains a struct, {{{}nested_struct{}}}, which is not supported yet because it contains collections. If the columns are listed explicitly, the error message is the correct one:

{code:java}
select id, int_array, int_array_array, int_map, int_map_array, nested_struct from functional_orc_def.complextypestbl;
ERROR: AnalysisException: Struct containing a collection type is not allowed in the select list.{code}
The same error message should be returned in the select * case.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org