Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions docs/spark-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
For unpartitioned tables, the partitions table will contain only the record_count and file_count columns.

### All Metadata Tables

Expand Down