From 416e097c2d717ddc6d276fb66b5df3d01bb4860b Mon Sep 17 00:00:00 2001 From: andreaschat-db Date: Mon, 16 Dec 2024 09:34:35 +0100 Subject: [PATCH] Address nits --- python/delta/tables.py | 2 +- spark/src/main/scala/io/delta/tables/DeltaTable.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/delta/tables.py b/python/delta/tables.py index 3af24b39151..ed24eb9b99b 100644 --- a/python/delta/tables.py +++ b/python/delta/tables.py @@ -594,7 +594,7 @@ def addFeatureSupport(self, featureName: str) -> None: DeltaTable._verify_type_str(featureName, "featureName") self._jdt.addFeatureSupport(featureName) - @since(4.0) # type: ignore[arg-type] + @since(3.4) # type: ignore[arg-type] def dropFeatureSupport(self, featureName: str) -> None: """ Modify the protocol to drop a supported feature. The operation always normalizes the diff --git a/spark/src/main/scala/io/delta/tables/DeltaTable.scala b/spark/src/main/scala/io/delta/tables/DeltaTable.scala index 7301dffa3b0..f7bb00f2318 100644 --- a/spark/src/main/scala/io/delta/tables/DeltaTable.scala +++ b/spark/src/main/scala/io/delta/tables/DeltaTable.scala @@ -579,10 +579,10 @@ class DeltaTable private[tables]( * * See online documentation for more details. * - * @param featureName: The name of the feature to drop. + * @param featureName The name of the feature to drop. * @return None. * - * @since 4.0.0 + * @since 3.4.0 */ def dropFeatureSupport(featureName: String): Unit = withActiveSession(sparkSession) { val alterTableCmd = AlterTableDropFeatureDeltaCommand(table, featureName)