Skip to content

Commit

Permalink
override tempLocation for Dataflow runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nevillelyh committed Oct 21, 2016
1 parent 36efa33 commit 93b32b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scio-core/src/main/scala/com/spotify/scio/ScioContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ class ScioContext private[scio] (val options: PipelineOptions,
}
}

Try(optionsAs[DataflowPipelineOptions]).foreach { o =>
o.setTempLocation(o.getGcpTempLocation)
}

{
val o = optionsAs[ScioOptions]
o.setScalaVersion(scalaVersion)
Expand Down

0 comments on commit 93b32b4

Please sign in to comment.