You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/12/28 21:44:30 UTC

[GitHub] [iceberg] samredai commented on a change in pull request #3482: spark: supplement spark-queries.md doc

samredai commented on a change in pull request #3482:
URL: https://github.com/apache/iceberg/pull/3482#discussion_r776082076



##########
File path: site/docs/spark-queries.md
##########
@@ -166,16 +168,15 @@ To show the valid snapshots for a table, run:
 ```sql
 SELECT * FROM prod.db.table.snapshots
 ```
-```text
-+-------------------------+----------------+-----------+-----------+----------------------------------------------------+-------------------------------------------------------+
-| committed_at            | snapshot_id    | parent_id | operation | manifest_list                                      | summary                                               |
-+-------------------------+----------------+-----------+-----------+----------------------------------------------------+-------------------------------------------------------+
+
+<div class="markdown-table-container" markdown="block">
+| committed_at | snapshot_id | parent_id | operation | manifest_list | summary |
+| -- | -- | -- | -- | -- | -- |
 | 2019-02-08 03:29:51.215 | 57897183625154 | null      | append    | s3://.../table/metadata/snap-57897183625154-1.avro | { added-records -> 2478404, total-records -> 2478404, |
 |                         |                |           |           |                                                    |   added-data-files -> 438, total-data-files -> 438,   |

Review comment:
       This has 3 rows but seems to only contain data for a single snapshot. Here's what it looks like when I `mkdoc serve` locally:
   <img width="773" alt="Screen Shot 2021-12-28 at 4 43 05 PM" src="https://user-images.githubusercontent.com/43911210/147609280-03d9197e-78f2-417c-a905-5ff9de440bd3.png">
   
   




-- 
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