lvyanquan commented on code in PR #5662: URL: https://github.com/apache/iceberg/pull/5662#discussion_r959213698
########## docs/spark-queries.md: ########## @@ -318,12 +318,15 @@ To show a table's current partitions: SELECT * FROM prod.db.table.partitions ``` -| partition | record_count | file_count | -| -- | -- | -- | -| {20211001, 11}| 1| 1| -| {20211002, 11}| 1| 1| -| {20211001, 10}| 1| 1| -| {20211002, 10}| 1| 1| +| partition | record_count | file_count | spec_id | +| -- | -- | -- | -- | +| {20211001, 11}| 1| 1| 0| +| {20211002, 11}| 1| 1| 0| +| {20211001, 10}| 1| 1| 0| +| {20211002, 10}| 1| 1| 0| + +Note: +If this table is non-partitioned, the resultSet will contain record_count and file_count only. Review Comment: Thanks for your suggestion, addressed it. -- 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