Do not merge: scratch work 2#3646
Conversation
…prepare to expose DirectUnmergedState API.
Fixes earliest hold to be < instead of <=.
PubSubIO for direct runner.
cosmoskitten
left a comment
There was a problem hiding this comment.
Please fix before approval.
At sdks/python/apache_beam/pipeline.py:139:
self.transforms_stack = [AppliedPTransform(None, None, '', None)]Thanks!
At sdks/python/apache_beam/pipeline.py:160:
def run(self, test_runner_api=True):I don't like this name.
| @@ -161,7 +161,7 @@ def run(self, test_runner_api=True): | |||
| """Runs the pipeline. Returns whatever our runner returns after running.""" | |||
|
|
|||
| # When possible, invoke a round trip through the runner API. | |||
charlesccychen
left a comment
There was a problem hiding this comment.
At sdks/python/apache_beam/pipeline.py:160:
def run(self, test_runner_api=True):cosmoskitten wrote:
I don't like this name.
Done.
| @@ -161,7 +161,7 @@ def run(self, test_runner_api=True): | |||
| """Runs the pipeline. Returns whatever our runner returns after running.""" | |||
|
|
|||
| # When possible, invoke a round trip through the runner API. | |||
There was a problem hiding this comment.
cosmoskitten wrote:
Please fix
Done.
charlesccychen
left a comment
There was a problem hiding this comment.
Please fix.
At sdks/python/apache_beam/pvalue.py:103:
class PCollection(PValue):Please fix PCollection.
| return _Bundle(output_pcollection, self._stacked) | ||
| return _Bundle(output_pcollection, None, stacked=self._stacked) | ||
|
|
||
| def create_keyed_bundle(self, output_pcollection, key): |
There was a problem hiding this comment.
Please fix create_keyed_bundle.
charlesccychen
left a comment
There was a problem hiding this comment.
R: @aaltay
aaltay
left a comment
There was a problem hiding this comment.
Thanks! this looks good.
At sdks/python/apache_beam/pvalue.py:103:
class PCollection(PValue):charlesccychen wrote:
Please fix PCollection.
Acknowledged.
| return _Bundle(output_pcollection, self._stacked) | ||
| return _Bundle(output_pcollection, None, stacked=self._stacked) | ||
|
|
||
| def create_keyed_bundle(self, output_pcollection, key): |
There was a problem hiding this comment.
charlesccychen wrote:
Please fix create_keyed_bundle.
Done.
aaltay
left a comment
There was a problem hiding this comment.
charlesccychen wrote:
Please fix.
Done.
Follow this checklist to help us incorporate your contribution quickly and easily:
[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue.mvn clean verifyto make sure basic checks pass. A more thorough check will be performed on your pull request automatically.