Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Example of using DagOptimizer #538

Merged
merged 5 commits into from
Sep 26, 2014
Merged

Example of using DagOptimizer #538

merged 5 commits into from
Sep 26, 2014

Conversation

johnynek
Copy link
Collaborator

See how much easier it is to implement a planner here.

We use the optimizer to first apply optimizations and remove unneeded nodes, then we only have to handle 5 cases.

This should not be merged before the dag optimizer pull request is.

@jcoveney
Copy link
Contributor

Merge master :)

@johnynek
Copy link
Collaborator Author

Sweeet!!!!

I'll add some tests for the ConcurrentMemory platform before we review it.

@johnynek
Copy link
Collaborator Author

Added tests. Would love a review from @ianoc who is really familiar with planners.

@johnynek
Copy link
Collaborator Author

@egonina Can you take a look as well? You were looking at in-memory stats, so it would be relevant to this platform as well.

case object NullTarget extends PhysicalNode[Any] {
def push(item: Any)(implicit ec: ExecutionContext) = Future.successful(())
}
case class FanOut[T](targets: Seq[PhysicalNode[T]]) extends PhysicalNode[T] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what would this be used for? Could you add a comment?

egonina added a commit that referenced this pull request Sep 26, 2014
Example of using DagOptimizer
@egonina egonina merged commit 4958580 into develop Sep 26, 2014
@egonina egonina deleted the future-memory branch September 26, 2014 21:20
snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
* Add sumOption to Short,Int,Long,Float,Double

* bump mima to 0.1.9

* address review comments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants