From dcca709ae7551623464914a82432395c533e6b46 Mon Sep 17 00:00:00 2001 From: Johan Lasperas Date: Fri, 15 Mar 2024 10:12:00 +0100 Subject: [PATCH] nit: formatting --- .../spark/sql/delta/PreDowngradeTableFeatureCommand.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spark/src/main/scala/org/apache/spark/sql/delta/PreDowngradeTableFeatureCommand.scala b/spark/src/main/scala/org/apache/spark/sql/delta/PreDowngradeTableFeatureCommand.scala index 7cd3321512e..97c7ab60e9d 100644 --- a/spark/src/main/scala/org/apache/spark/sql/delta/PreDowngradeTableFeatureCommand.scala +++ b/spark/src/main/scala/org/apache/spark/sql/delta/PreDowngradeTableFeatureCommand.scala @@ -137,7 +137,7 @@ case class TypeWideningPreDowngradeCommand(table: DeltaTableV2) * Unset the type widening table property to prevent new type changes to be applied to the table, * then removes traces of the feature: * - Rewrite files that have columns or fields with a different type than in the current table - * schema. These are all files added or modified after the last type change. + * schema. These are all files not added or modified after the last type change. * - Remove the type widening metadata attached to fields in the current table schema. * * @return Return true if files were rewritten or metadata was removed. False otherwise. @@ -165,7 +165,7 @@ case class TypeWideningPreDowngradeCommand(table: DeltaTableV2) /** * Rewrite files that have columns or fields with a different type than in the current table - * schema. These are all files added or modified after the last type change. + * schema. These are all files not added or modified after the last type change. * @return Return the number of files rewritten. */ private def rewriteFilesIfNeeded(): Long = {