[
https://issues.apache.org/jira/browse/IMPALA-11722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Rozsa resolved IMPALA-11722.
----------------------------------
Resolution: Done
> 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
> Assignee: Peter Rozsa
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]