szehon-ho commented on code in PR #5662:
URL: https://github.com/apache/iceberg/pull/5662#discussion_r960061764
##########
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, it will contain only the record_count and
file_count columns.
Review Comment:
I just realized "this table... it" will be wrong because we mean different
tables (data table and metadata table)
"If the table is unpartitioned, the partitions table will contain only the
record_count and file_count columns."
--
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]