Skip to content

[Bug] Iceberg External Catalog in Doris 3.1.1 - Partition Table Access Issue #58094

@mughilanand

Description

@mughilanand

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Doris Version: 3.1.1
Doris Build Type: apache-doris-3.1.1-bin-x64

What's Wrong?

I am encountering issues with Iceberg external tables in Apache Doris 3.1.1. Specifically, executing show create table or desc <table_name> on partitioned Iceberg tables throws a NullPointerException. However, these commands work fine along with select query on non-partition Iceberg tables within Doris, and they also work without issues when executed directly via Spark or Beeline cli on Iceberg tables outside of Doris.
I also tried refresh table and refresh catalog. but the issue persists.

ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "java.lang.Long.longValue()" because the return value of "org.apache.iceberg.StructLike.get(int, java.lang.Class)" is null

What You Expected?

Iceberg tables should be accessible in Doris without errors when running show create table or desc <table_name>.

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions