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 b2dbcd7a0c..e0320b79b2 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,