yangshangqing95 opened a new pull request, #17134: URL: https://github.com/apache/iceberg/pull/17134
close #17132 ## Summary This PR adds a new Iceberg metadata table, metadata_tables, to make available metadata tables discoverable through the existing metadata table mechanism. For example, in Spark users can query: ```sql SELECT * FROM catalog.db.table.metadata_tables; ``` Result: ``` entries files data_files delete_files history metadata_log_entries snapshots refs manifests partitions all_data_files all_delete_files all_files all_manifests all_entries position_deletes metadata_tables ``` The new metadata table returns the supported metadata table names This avoids requiring users to know all metadata table names ahead of time from documentation or source code. Also, replace selected hard-coded metadata table suffixes in tests and metadata table implementations with MetadataTableType#tableName, enhance code robustness. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
