You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "hsiang-c (via GitHub)" <gi...@apache.org> on 2023/07/10 22:58:36 UTC

[GitHub] [iceberg] hsiang-c commented on a diff in pull request #8021: Docs: Update Partitions table in Flink/Spark doc

hsiang-c commented on code in PR #8021:
URL: https://github.com/apache/iceberg/pull/8021#discussion_r1258989020


##########
docs/flink-queries.md:
##########
@@ -428,15 +428,15 @@ To show a table's current partitions:
 SELECT * FROM prod.db.table$partitions;
 ```
 
-| 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       |
+| partition      | spec_id | record_count  | file_count | total_data_file_size_in_bytes | position_delete_record_count | position_delete_file_count | equality_delete_record_count | equality_delete_file_count | last_updated_at(μs) | last_updated_snapshot_id |
+| -------------- |---------|---------------|------------|--------------------------|------------------------------|----------------------------|------------------------------|----------------------------|---------------------|--------------------------|
+| {20211001, 11} | 0       | 1             | 1          | 100                      | 2                            | 1                          | 0                            | 0                          | 1633086034192000    | 9205185327307503337      |
+| {20211002, 11} | 0       | 4             | 3          | 500                      | 1                            | 1                          | 0                            | 0                          | 1633172537358000    | 867027598972211003       |
+| {20211001, 10} | 0       | 7             | 4          | 700                      | 0                            | 0                          | 0                            | 0                          | 1633082598716000    | 3280122546965981531      |
+| {20211002, 10} | 0       | 3             | 2          | 400                      | 0                            | 0                          | 1                            | 1                          | 1633169159489000    | 6941468797545315876      |
 
 Note:
-For unpartitioned tables, the partitions table will contain only the record_count and file_count columns.
+For unpartitioned tables, the partitions table will not contain partition field and spec_id field.

Review Comment:
   @szehon-ho Sounds good, fixed now.



-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org