Bug Description
When a Hive table uses com.hadoop.compression.lzo.LzoTextInputFormat or com.hadoop.mapred.DeprecatedLzoTextInputFormat, Doris Hive Catalog throws NotSupportedException and cannot query the table.
Root Cause
- Neither InputFormat is in the
SUPPORTED_HIVE_FILE_FORMATS whitelist in HMSExternalTable.java
- All whitelisted formats are treated as splittable; LZO files without index are not splittable
Steps to Reproduce
- Create Hive table with
LzoTextInputFormat
- Register in Doris Hive Catalog
- Run SELECT query
- Error:
NotSupportedException: Unsupported hive input format: com.hadoop.compression.lzo.LzoTextInputFormat
Fix
See PR #62439 — only 2 FE files changed, no BE changes needed.
Bug Description
When a Hive table uses
com.hadoop.compression.lzo.LzoTextInputFormatorcom.hadoop.mapred.DeprecatedLzoTextInputFormat, Doris Hive Catalog throwsNotSupportedExceptionand cannot query the table.Root Cause
SUPPORTED_HIVE_FILE_FORMATSwhitelist inHMSExternalTable.javaSteps to Reproduce
LzoTextInputFormatNotSupportedException: Unsupported hive input format: com.hadoop.compression.lzo.LzoTextInputFormatFix
See PR #62439 — only 2 FE files changed, no BE changes needed.