Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11507

Impala cannot read Iceberg tables where DataFile is not under 'table location'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • Impala 4.2.0
    • None
    • ghx-label-2

    Description

      step1:
      create Iceberg table 'ice_tbl', location is 'hdfs://localhost:20500/ice_tbl_x'

      step2:
      Using 'org.apache.iceberg.AppendFiles' to commit data
      'hdfs://localhost:20500/ice_tbl_y/data/00001-1-486e37ac-0adc-4f32-b209-4ade2574d3c0-00004.parquet' to 'ice_tbl'

      step3:

      create external table ice_tbl
      stored as iceberg
      location 'hdfs://localhost:20500/ice_tbl_x'
      tblproperties('iceberg.catalog' = 'hadoop.tables'); 

      step4:
      When we query 'ice_tbl', it will throw exception at https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java#L513

      Attachments

        Issue Links

          Activity

            People

              lipenglin Li Penglin
              lipenglin Li Penglin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: