lasdf1234 commented on code in PR #13153:
URL: https://github.com/apache/gravitino/pull/13153#discussion_r4011809995
##########
docs/table-maintenance-service/optimizer-cli-reference.md:
##########
@@ -346,3 +347,61 @@ Expire Snapshots Results:
- [Configuration](./optimizer-configuration.md) for the three configuration
layers
- [Iceberg Compaction Policy](../iceberg-compaction-policy.md) for tuning the
built-in strategy
- [Manage Jobs](../manage-jobs-in-gravitino.md) for job status and templates
+
+
+## Remove Orphan Files
+
+`builtin-iceberg-remove-orphan-files` runs Iceberg's `remove_orphan_files`
Spark
+procedure. It removes files in the scan location that are no longer referenced
+by table metadata. This job is available for direct submission; policy-driven
+scheduling is a separate feature.
+
+| Key | Description
| Default |
+| ------------------ |
------------------------------------------------------------- | -------------- |
+| `catalog_name` | Iceberg catalog registered in Spark
| Required |
+| `table_identifier` | Table identifier within that catalog, such as
`db.sample` | Required |
+| `older_than` | Cutoff timestamp, interpreted in the Spark session time
zone | Three days ago |
Review Comment:
Three days ago (Iceberg default; explicit values must be ≥24h old) . May be
this better?
--
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]