[ 
https://issues.apache.org/jira/browse/IMPALA-11507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582848#comment-17582848
 ] 

LiPenglin commented on IMPALA-11507:
------------------------------------

Iceberg Spec v3 will support Relative Paths, and 'write.folder-storage.path' / 
'write.object-storage.path' properties will be provided then, The relevant 
information is as follows:
 * [https://github.com/apache/iceberg/projects/18]
 * 
[https://docs.google.com/document/d/1RDEjJAVEXg1csRzyzTuM634L88vvI0iDHNQQK3kOVR0]

At that point, we can get relative paths without using ‘table.location' as the 
root path.

> 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
>            Priority: Major
>              Labels: impala-iceberg
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to