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

IllegalStateException: null, better error message needed when unsupported data type is encountered

    XMLWordPrintableJSON

    Details

      Description

      If the query encounters an unknown data type (for example DATE) then the following error message is raised: "IllegalStateException: null", which is not too helpful.
      Could we improve it to be something like "AnalysisException: unsupported type in the query"?

      In hive

      create table datetest(col1 string, col2 date);
      

      In Impala

      invalidate metadata;
      
      select * from datetest;
      IllegalStateException: null
      

      If we select only the specific column, the error message is helpful:

      select col2 from datetest;
      AnalysisException: Unsupported type in 'col2'.
      

        Attachments

          Activity

            People

            • Assignee:
              tarasbob Taras Bobrovytsky
              Reporter:
              mszurap_impala_de3d Miklos Szurap
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: