Thanks to visit codestin.com
Credit goes to github.com

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

Conversation

@egonina
Copy link
Contributor

@egonina egonina commented Nov 13, 2014

Adds support for performing a leftJoin against a store in the offline platform. Currently supports two cases:

  1. sumByKey(store) is not dependent on the leftJoin
  2. sumByKey(store) has a limited dependency on the leftJoin - only legal nodes between the join and store are [map | filter | flatMap]Values, i.e. we cannot have any key fanout

Based off of @johnynek's PR: #551

Copy link
Collaborator

Choose a reason for hiding this comment

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

don't you want to use your sum on line 44 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, yes, thanks :)

@egonina
Copy link
Contributor Author

egonina commented Nov 18, 2014

This is ready for review. Thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

leftover from debugging.. thanks

Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't this always Any => TraversableOnce[Any]?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can make the type more constrained

@egonina
Copy link
Contributor Author

egonina commented Nov 22, 2014

Thanks @johnynek for the comments! This is ready for another pass.
@ianoc could you take a look as well, please?

Copy link
Collaborator

Choose a reason for hiding this comment

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

needs an issue? or ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we ditched using KeyedProducer in the input position. Can we change this to Producer[P, (K, V)] and get everything to compile.

@johnynek
Copy link
Collaborator

Added a handful of minor nits, then I'm ready to merge.

I do agree with Ian that the TODOs should have issue's added and we should reference those issue numbers in the comment.

@egonina
Copy link
Contributor Author

egonina commented Nov 27, 2014

Addressed @johnynek's comments except need to address unit batcher & scalding tests. Also I made the modifications for that TODO, no issue needed, but will file issues next time.

ianoc added a commit that referenced this pull request Nov 27, 2014
Support leftJoin against a store in offline platform
@ianoc ianoc merged commit 1b63069 into develop Nov 27, 2014
@ianoc ianoc deleted the kgonina/leftjoin_against_store branch November 27, 2014 01:31
snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
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