From 863f396e894996a9a50dc9ff803490dc6f4f7ef2 Mon Sep 17 00:00:00 2001 From: Ajantha Bhat Date: Thu, 28 Sep 2023 14:46:26 +0530 Subject: [PATCH] Docs: Remove spark-3.1 mention (#8671) --- .../main/java/org/apache/iceberg/actions/BinPackStrategy.java | 2 +- .../main/java/org/apache/iceberg/actions/RewriteStrategy.java | 2 +- core/src/main/java/org/apache/iceberg/actions/SortStrategy.java | 2 +- docs/nessie.md | 2 +- docs/spark-writes.md | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/org/apache/iceberg/actions/BinPackStrategy.java b/core/src/main/java/org/apache/iceberg/actions/BinPackStrategy.java index ecca60cef2fb..0da1f6063bd4 100644 --- a/core/src/main/java/org/apache/iceberg/actions/BinPackStrategy.java +++ b/core/src/main/java/org/apache/iceberg/actions/BinPackStrategy.java @@ -46,7 +46,7 @@ * RewriteDataFiles#TARGET_FILE_SIZE_BYTES}. * * @deprecated since 1.3.0, will be removed in 1.4.0; use {@link SizeBasedFileRewriter} instead. - * Note: This can only be removed once Spark 3.1 + 3.2 isn't using this API anymore. + * Note: This can only be removed once Spark 3.2 isn't using this API anymore. */ @Deprecated public abstract class BinPackStrategy implements RewriteStrategy { diff --git a/core/src/main/java/org/apache/iceberg/actions/RewriteStrategy.java b/core/src/main/java/org/apache/iceberg/actions/RewriteStrategy.java index a09282f35ce2..ed0f7995789e 100644 --- a/core/src/main/java/org/apache/iceberg/actions/RewriteStrategy.java +++ b/core/src/main/java/org/apache/iceberg/actions/RewriteStrategy.java @@ -30,7 +30,7 @@ * A strategy for rewriting files. * * @deprecated since 1.3.0, will be removed in 1.4.0; use {@link FileRewriter} instead. Note: This - * can only be removed once Spark 3.1 + 3.2 isn't using this API anymore. + * can only be removed once Spark 3.2 isn't using this API anymore. */ @Deprecated public interface RewriteStrategy extends Serializable { diff --git a/core/src/main/java/org/apache/iceberg/actions/SortStrategy.java b/core/src/main/java/org/apache/iceberg/actions/SortStrategy.java index 733e29cd56b7..00a0704eda76 100644 --- a/core/src/main/java/org/apache/iceberg/actions/SortStrategy.java +++ b/core/src/main/java/org/apache/iceberg/actions/SortStrategy.java @@ -39,7 +39,7 @@ *

In the future other algorithms for determining files to rewrite will be provided. * * @deprecated since 1.3.0, will be removed in 1.4.0; use {@link SizeBasedFileRewriter} instead. - * Note: This can only be removed once Spark 3.1 + 3.2 isn't using this API anymore. + * Note: This can only be removed once Spark 3.2 isn't using this API anymore. */ @Deprecated public abstract class SortStrategy extends BinPackStrategy { diff --git a/docs/nessie.md b/docs/nessie.md index bf89b664fc4f..47b91c89198b 100644 --- a/docs/nessie.md +++ b/docs/nessie.md @@ -44,7 +44,7 @@ org.apache.iceberg:iceberg-spark-runtime-3.3_2.12:{{% icebergVersion %}}`. ## Spark SQL Extensions -From Spark 3.1 and above, Nessie SQL extensions can be used to manage the Nessie repo as shown below. +Nessie SQL extensions can be used to manage the Nessie repo as shown below. Example for Spark 3.3 with scala 2.12: ``` diff --git a/docs/spark-writes.md b/docs/spark-writes.md index db641fc9b9a3..7338af0c8820 100644 --- a/docs/spark-writes.md +++ b/docs/spark-writes.md @@ -184,8 +184,6 @@ If the delete filter matches entire partitions of the table, Iceberg will perfor ### `UPDATE` -Spark 3.1 added support for `UPDATE` queries that update matching rows in tables. - Update queries accept a filter to match rows to update. ```sql