heye1005 opened a new pull request, #7667: URL: https://github.com/apache/paimon/pull/7667
### Purpose Closes #7283. Added `file_name` and `clustering_columns` to the `$files` system table. - `file_name`: just the file name, without the path prefix - `clustering_columns`: the clustering columns from table schema options, comma-separated. NULL if not configured. the issue title says "clustering column and file name system table" — not sure if the intent was a standalone `$clustering_columns` table or just adding fields to an existing one. I went with adding them to `$files` since it's only two fields and didn't feel like it warranted a separate table. Happy to change if a standalone table is preferred. ### Tests - Updated existing `FilesTableTest` expected results to include the new fields - Added `testFileNameAndClusteringColumns`: creates a table with `clustering.columns` set, verifies both fields - Added `testClusteringColumnsNull`: verifies the field is NULL when clustering is not configured -- 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]
