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 2022/09/08 04:48:44 UTC

[GitHub] [iceberg] singhpk234 commented on a diff in pull request #5725: Docs: Add snapshot references metadata table

singhpk234 commented on code in PR #5725:
URL: https://github.com/apache/iceberg/pull/5725#discussion_r965495316


##########
docs/spark-queries.md:
##########
@@ -371,6 +371,19 @@ Note:
 2. `contains_nan` could return null, which indicates that this information is not available from the file's metadata.
     This usually occurs when reading from V1 table, where `contains_nan` is not populated.
 
+### References
+
+To show a table's known snapshot references:
+
+```sql
+SELECT * FROM prod.db.table.refs
+```
+| name | type | snapshot_id | max_reference_age_in_ms | min_snapshots_to_keep | max_snapshot_age_in_ms | 

Review Comment:
   [nit] can add a new line before this



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