From 6547a21bfef39bcf7f759762ca393449f40ca019 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Wed, 18 Dec 2024 18:25:21 +0900 Subject: [PATCH] Remove unused method from DeletionVectorUtils --- .../spark/sql/delta/commands/DeletionVectorUtils.scala | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spark/src/main/scala/org/apache/spark/sql/delta/commands/DeletionVectorUtils.scala b/spark/src/main/scala/org/apache/spark/sql/delta/commands/DeletionVectorUtils.scala index b2dbcd7a0c7..e0320b79b2f 100644 --- a/spark/src/main/scala/org/apache/spark/sql/delta/commands/DeletionVectorUtils.scala +++ b/spark/src/main/scala/org/apache/spark/sql/delta/commands/DeletionVectorUtils.scala @@ -51,16 +51,6 @@ trait DeletionVectorUtils extends DeltaLogging { } } - /** - * Returns true if persistent deletion vectors are enabled and - * readable with the current reader version. - */ - def fileIndexSupportsReadingDVs(fileIndex: FileIndex): Boolean = fileIndex match { - case index: TahoeFileIndex => deletionVectorsReadable(index) - case _: SupportsRowIndexFilters => true - case _ => false - } - def deletionVectorsWritable( snapshot: SnapshotDescriptor, newProtocol: Option[Protocol] = None,