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

Zoltán Borók-Nagy commented on IMPALA-11256:
--------------------------------------------

[~LiPenglin] thank you for your interest in this issue, I have assigned this 
ticket to you.

To give you some pointers, FeIcebergTables already have a collection of the 
current data files:
https://github.com/apache/impala/blob/eef6eb077574b50c81510f303b90a3f69890db3c/fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java#L75

So there's no need to invoke relatively expensive Iceberg APIs.

> SHOW FILES on Iceberg tables lists all files in table directory
> ---------------------------------------------------------------
>
>                 Key: IMPALA-11256
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11256
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: LiPenglin
>            Priority: Major
>              Labels: impala-iceberg
>
> SHOW FILES on Iceberg tables lists all files in table directory. Even deleted 
> files and metadata files.
> We should show the same files that Spark/Hive lists on the following metadata 
> query:
> SELECT * FROM db.tbl.files;
> Which only shows the current data files.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to