From 7bd7b02355048909083380c7213ba06902b75ab0 Mon Sep 17 00:00:00 2001 From: Pucheng Yang Date: Fri, 8 Dec 2023 10:32:30 -0800 Subject: [PATCH 1/3] Add doc for rewriting manifest with spec id --- docs/spark-procedures.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/spark-procedures.md b/docs/spark-procedures.md index 00cb91f0d131..7792268e0311 100644 --- a/docs/spark-procedures.md +++ b/docs/spark-procedures.md @@ -446,6 +446,7 @@ This procedure invalidates all cached Spark plans that reference the affected ta |---------------|-----------|------|-------------| | `table` | ✔️ | string | Name of the table to update | | `use_caching` | ️ | boolean | Use Spark caching during operation (defaults to true) | +| `spec_id` | | int | Spec id of the manifests to rewrite (defaults to latest spec id) | #### Output From 6eccdd8e6a0d9d82786e0c230f705f6a2996dedd Mon Sep 17 00:00:00 2001 From: Pucheng Yang Date: Mon, 11 Dec 2023 09:11:56 -0800 Subject: [PATCH 2/3] address a comment --- docs/spark-procedures.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/spark-procedures.md b/docs/spark-procedures.md index 7792268e0311..494daa28003e 100644 --- a/docs/spark-procedures.md +++ b/docs/spark-procedures.md @@ -442,11 +442,11 @@ This procedure invalidates all cached Spark plans that reference the affected ta #### Usage -| Argument Name | Required? | Type | Description | -|---------------|-----------|------|-------------| -| `table` | ✔️ | string | Name of the table to update | -| `use_caching` | ️ | boolean | Use Spark caching during operation (defaults to true) | -| `spec_id` | | int | Spec id of the manifests to rewrite (defaults to latest spec id) | +| Argument Name | Required? | Type | Description | +|---------------|-----------|------|---------------------------------------------------------------| +| `table` | ✔️ | string | Name of the table to update | +| `use_caching` | ️ | boolean | Use Spark caching during operation (defaults to true) | +| `spec_id` | | int | Spec id of the manifests to rewrite (defaults to current spec id) | #### Output From 3ef035ac008f962e760be37b4a0ba7fd5c1f7007 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Wed, 13 Dec 2023 09:46:12 +0100 Subject: [PATCH 3/3] Fix whitespace Co-authored-by: Ajantha Bhat --- docs/spark-procedures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spark-procedures.md b/docs/spark-procedures.md index 494daa28003e..67cfae482f5e 100644 --- a/docs/spark-procedures.md +++ b/docs/spark-procedures.md @@ -446,7 +446,7 @@ This procedure invalidates all cached Spark plans that reference the affected ta |---------------|-----------|------|---------------------------------------------------------------| | `table` | ✔️ | string | Name of the table to update | | `use_caching` | ️ | boolean | Use Spark caching during operation (defaults to true) | -| `spec_id` | | int | Spec id of the manifests to rewrite (defaults to current spec id) | +| `spec_id` | ️ | int | Spec id of the manifests to rewrite (defaults to current spec id) | #### Output