luoyuxia commented on issue #7110: URL: https://github.com/apache/iceberg/issues/7110#issuecomment-1475532560
Thanks all for the information. Now I got it. Maybe the issue's title is not clear. Now I change the title from `Support to read iceberg table's metadata with Flink` to `Support icberge table's metadata column`. What I mean is that we can implemet `SupportsReadingMetadata` for `IcebergTableSource` just like `SparkTable` implements `SupportsMetadataColumns`. So that user can use such Flink SQL to know which file the row comes from by the column `file_path`. ``` CREATE TABLE icberg_t( id STRING, file_path STRING METADATA ) with ('connector' = 'iceberge', xxx); SELECT id, file_path FROM icberg_t; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org