Skip to content

Commit

Permalink
replace inputFiles with location.rootPaths.toString (#11323)
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Puller <[email protected]>
  • Loading branch information
zpuller authored Aug 16, 2024
1 parent c0c93b3 commit 5302651
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4666,8 +4666,8 @@ case class GpuOverrides() extends Rule[SparkPlan] with Logging {
part.files.exists(partFile => checkDeltaFunc(partFile.filePath.toString))
}
}.getOrElse {
f.relation.inputFiles.exists { name =>
checkDeltaFunc(name)
f.relation.location.rootPaths.exists { path =>
checkDeltaFunc(path.toString)
}
}
if (found) {
Expand Down

0 comments on commit 5302651

Please sign in to comment.