Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.5.0
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'.