Skip to content

Commit

Permalink
Fix recursive pull
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiimk committed Dec 15, 2019
1 parent 4b1d2f8 commit c459362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/scala/dev/kamu/cli/commands/PullCommand.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ class PullCommand(

kind match {
case Dataset.Kind.Root => pullRoot(batch)
case Dataset.Kind.Derivative => pullDerivative(batch)
case Dataset.Kind.Derivative =>
// TODO: Streaming transform currently doesn't handle dependencies
batch.foreach(ds => pullDerivative(Seq(ds)))
case Dataset.Kind.Remote =>
throw new NotImplementedError("Cannot pull remote datasets")
}
Expand Down

0 comments on commit c459362

Please sign in to comment.