Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
-
ghx-label-12
Description
The following query fails with a NullPointerException:
select * from functional_orc_def.complextypestbl;
ERROR: NullPointerException: null
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:
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.
The same error message should be returned in the select * case.