RussellSpitzer commented on a change in pull request #3317:
URL: https://github.com/apache/iceberg/pull/3317#discussion_r738495951
##########
File path: site/docs/spark-procedures.md
##########
@@ -407,3 +407,49 @@ CALL spark_catalog.system.add_files(
source_table => '`parquet`.`path/to/table`'
)
```
+
+## `Metadata information`
+
+### `ancestors_of`
+
+Report the live snapshot IDs of parents of a specified snapshot
+
+#### Usage
+
+| Argument Name | Required? | Type | Description |
+|---------------|-----------|------|-------------|
+| `table` | ✔️ | string | Name of the table to report live snapshot IDs
|
+| `snapshot_id` | ️ | long | Use a specified snapshot to get the live
snapshot IDs of parents |
+
+> tip : Using snapshot_id
+>
+> I have snapshots
Review comment:
While I like this tip, we don't use first person in the docs as a style
note.
So instead of "I have snapshots"
Given snapshots history with roll back to B and addition of C' -> D'
...
example
Not specifying the snapshot ID would return A -> B -> C' -> D', while
providing the snapshot ID of
D as an argument would return A-> B -> C -> D
--
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]