Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-13
Description
Impala crashes when the following conditions are true:
- local catalog mode is being used
- Iceberg table is being queried
- 'iceberg.file_format' is set instead of 'write.format.default' table property
- the file format is ORC
- Query is select count from t;
When the above conditions met Impala wrongly assumes that PARQUET is being used and tries to apply the count star optimization. It is not implemented for the ORC scanner and causes it to crash.