Skip to content

[Bug] Hive Catalog throws NotSupportedException for LzoTextInputFormat #62465

@zhaorongsheng

Description

@zhaorongsheng

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

  1. Neither InputFormat is in the SUPPORTED_HIVE_FILE_FORMATS whitelist in HMSExternalTable.java
  2. All whitelisted formats are treated as splittable; LZO files without index are not splittable

Steps to Reproduce

  1. Create Hive table with LzoTextInputFormat
  2. Register in Doris Hive Catalog
  3. Run SELECT query
  4. Error: NotSupportedException: Unsupported hive input format: com.hadoop.compression.lzo.LzoTextInputFormat

Fix

See PR #62439 — only 2 FE files changed, no BE changes needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions