Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Fujiy Pessoto <[email protected]>
  • Loading branch information
felipepessoto committed Mar 10, 2023
1 parent 6647f98 commit df2f58c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ object Protocol {
}
if (manifestGenerationEnabled) {
// Only allow enabling this, if there are no DVs present.
if (!DeletionVectorUtils.isTableDVFree(spark, snapshot)) {
if (!DeletionVectorUtils.isTableDVFree(snapshot)) {
throw new DeltaTablePropertyValidationFailedException(
table = tableName,
subClass = ExistingDeletionVectorsWithIncrementalManifestGeneration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ trait GenerateSymlinkManifestImpl extends PostCommitHook with DeltaLogging with
}

protected def assertTableIsDVFree(spark: SparkSession, snapshot: Snapshot): Unit = {
if (!isTableDVFree(spark, snapshot)) {
if (!isTableDVFree(snapshot)) {
throw DeltaErrors.generateNotSupportedWithDeletionVectors()
}
}
Expand Down

0 comments on commit df2f58c

Please sign in to comment.