You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "LiPenglin (Jira)" <ji...@apache.org> on 2022/08/18 07:45:00 UTC

[jira] [Created] (IMPALA-11507) Impala cannot read Iceberg tables where DataFile is not under 'table location'

LiPenglin created IMPALA-11507:
----------------------------------

             Summary: Impala cannot read Iceberg tables where DataFile is not under 'table location'
                 Key: IMPALA-11507
                 URL: https://issues.apache.org/jira/browse/IMPALA-11507
             Project: IMPALA
          Issue Type: Bug
            Reporter: LiPenglin
            Assignee: LiPenglin


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:
{code:java}
create external table ice_tbl
stored as iceberg
location 'hdfs://localhost:20500/ice_tbl_x'
tblproperties('iceberg.catalog' = 'hadoop.tables'); {code}
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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)