Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11722

Wrong error message when unsupported complex type comes from * expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • Impala 4.2.0
    • Frontend
    • None

    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.

      Attachments

        Activity

          People

            prozsa Peter Rozsa
            daniel.becker Daniel Becker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: