[
https://issues.apache.org/jira/browse/BEAM-6683?focusedWorklogId=243604&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-243604
]
ASF GitHub Bot logged work on BEAM-6683:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/May/19 19:33
Start Date: 16/May/19 19:33
Worklog Time Spent: 10m
Work Description: ihji commented on pull request #8174: [BEAM-6683] add
createCrossLanguageValidatesRunner task
URL: https://github.com/apache/beam/pull/8174#discussion_r284864864
##########
File path: sdks/python/apache_beam/transforms/combiners.py
##########
@@ -129,10 +129,13 @@ class PerElement(ptransform.PTransform):
def expand(self, pcoll):
paired_with_void_type = KV[pcoll.element_type, Any]
- return (pcoll
- | ('%s:PairWithVoid' % self.label >> core.Map(lambda x: (x,
None))
- .with_output_types(paired_with_void_type))
- | core.CombinePerKey(CountCombineFn()))
+ output_type = KV[pcoll.element_type, int]
Review comment:
The output type needs to be as narrow as possible in order to avoid python
pickled coder. The test was failed because of it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 243604)
Time Spent: 9h 50m (was: 9h 40m)
> Add an integration test suite for cross-language transforms for Flink runner
> ----------------------------------------------------------------------------
>
> Key: BEAM-6683
> URL: https://issues.apache.org/jira/browse/BEAM-6683
> Project: Beam
> Issue Type: Test
> Components: testing
> Reporter: Chamikara Jayalath
> Assignee: Heejong Lee
> Priority: Major
> Time Spent: 9h 50m
> Remaining Estimate: 0h
>
> We should add an integration test suite that covers following.
> (1) Currently available Java IO connectors that do not use UDFs work for
> Python SDK on Flink runner.
> (2) Currently available Python IO connectors that do not use UDFs work for
> Java SDK on Flink runner.
> (3) Currently available Java/Python pipelines work in a scalable manner for
> cross-language pipelines (for example, try 10GB, 100GB input for
> textio/avroio for Java and Python).
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)