liuml07 opened a new pull request, #4540: URL: https://github.com/apache/iceberg/pull/4540
Currently Spark SQL does not show table `format-version` in `SHOW TBLPROPERTIES`, `DESCRIBE TABLE` or `SHOW CREATE TABLE`. This could be based on the fact that `format-version` is a reserved table properties and it's not persisted as a table property. Still users may find it useful to inspect the table `format-version` via Spark SQL. One way is to show it via `DESC TABLE EXTENDED`. Towards that, this pull requests has 3 small commits: 1. Add a one liner test which explains the intention and fails 2. Show `format-version` for command `DESC TABLE EXTENDED` by adding it to Spark table properties 3. (cosmetic) Replace some literals with constants defined in `TableProperties.java` -- 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]
