Skip to content

Commit

Permalink
overwrite instead of error on computeCached (hdfs)
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Jan 22, 2024
1 parent 0e7279f commit 79326a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/graphsense/TransformHelpers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object TransformHelpers {

def computeCached[
R: Encoder
](base_path: Option[String], spark: SparkSession, overwrite: Boolean = false)(
](base_path: Option[String], spark: SparkSession, overwrite: Boolean = true)(
dataset_name: String
)(block: => Dataset[R]): Dataset[R] = {
base_path match {
Expand Down

0 comments on commit 79326a7

Please sign in to comment.