Skip to content

Commit

Permalink
#474 Disable local mode (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
windoze authored Oct 15, 2022
1 parent 3c407c3 commit 1465f64
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -652,11 +652,7 @@ private[offline] object SourceUtils {
ss.read.format("csv").option("header", "true").option("delimiter", csvDelimiterOption).load(inputData.inputPath)
}
case _ => {
if (ss.sparkContext.isLocal){
getLocalDF(ss, inputData.inputPath, dataLoaderHandlers)
} else {
loadAsDataFrame(ss, SimplePath(inputData.inputPath),dataLoaderHandlers)
}
loadAsDataFrame(ss, SimplePath(inputData.inputPath),dataLoaderHandlers)
}
}
}
Expand Down

0 comments on commit 1465f64

Please sign in to comment.