You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "luoyuxia (via GitHub)" <gi...@apache.org> on 2023/03/20 02:49:47 UTC

[GitHub] [iceberg] luoyuxia commented on issue #7110: Support to read iceberg table's metadata column with Flink

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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org