RussellSpitzer commented on code in PR #11606: URL: https://github.com/apache/iceberg/pull/11606#discussion_r1850905717
########## docs/docs/spark-procedures.md: ########## @@ -936,3 +936,40 @@ as an `UPDATE_AFTER` image, resulting in the following pre/post update images: |-----|--------|--------------| | 3 | Robert | UPDATE_BEFORE| | 3 | Dan | UPDATE_AFTER | + +## Table stats + +### `compute_table_stats` + +This procedure calculates the Number of Distinct Values (NDV) stats for a specified table. +By default, it uses the latest snapshot of the table and analyzes all columns to compute the stats. +The procedure can be optionally configured to compute stats for a specific snapshot and/or a subset of columns. Review Comment: ```suggestion The procedure can be optionally configured to compute statistics for a specific snapshot and/or a subset of columns. ``` -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org