Skip to content

Commit

Permalink
make folder name random
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvarya-db committed Dec 5, 2024
1 parent 4a160cf commit 445d4e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package org.apache.spark.sql.delta

import java.io.File
import java.net.URI
import java.util.UUID

import scala.concurrent.duration._

Expand Down Expand Up @@ -557,7 +558,8 @@ class CheckpointsSuite
for (v2Checkpoint <- Seq(true, false))
withTempDir { tempDir =>
val source = new File(DeletionVectorsSuite.table1Path) // this table has DVs in two versions
val target = new File(tempDir, "insertTest")
val targetName = s"insertTest_${UUID.randomUUID().toString.replace("-", "")}"
val target = new File(tempDir, targetName)

// Copy the source2 DV table to a temporary directory, so that we do updates to it
FileUtils.copyDirectory(source, target)
Expand Down

0 comments on commit 445d4e7

Please sign in to comment.