Skip to content

Commit

Permalink
fix golden file find
Browse files Browse the repository at this point in the history
  • Loading branch information
zwangsheng committed Jan 24, 2024
1 parent 1dc76ca commit 67b2a9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ abstract class VeloxTPCHSuite extends VeloxTPCHTableSupport {
}

private def getGoldenFile(id: Int): String = {
val path = s"/tpch-approved-plan/spark$formatSparkVersion/$id.txt"
val path = s"$rootPath/tpch-approved-plan/spark$formatSparkVersion/$id.txt"
formatMaterializedPlan(Source.fromFile(new File(path), "UTF-8").mkString)
}

Expand Down

0 comments on commit 67b2a9d

Please sign in to comment.