Ahmet Altay created BEAM-2729:
---------------------------------
Summary: Post commit fail: Input to GroupByKey must be of Tuple or
Any type
Key: BEAM-2729
URL: https://issues.apache.org/jira/browse/BEAM-2729
Project: Beam
Issue Type: Bug
Components: sdk-py
Reporter: Ahmet Altay
Assignee: Robert Bradshaw
root cause:
https://github.com/apache/beam/commit/5e71d53ef8c28ec14b6a282b1fe67489c2b3f243
jenkins:
https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/2864/
Sample stack:
======================================================================
ERROR: test_iterable_side_input
(apache_beam.transforms.sideinputs_test.SideInputsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/transforms/sideinputs_test.py",
line 177, in test_iterable_side_input
pipeline.run()
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/testing/test_pipeline.py",
line 96, in run
result = super(TestPipeline, self).run()
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 329, in run
return self.runner.run(self)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py",
line 38, in run
self.result = super(TestDataflowRunner, self).run(pipeline)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",
line 252, in run
pipeline.visit(self.group_by_key_input_visitor())
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 354, in visit
self._root_transform().visit(visitor, self, visited)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 692, in visit
part.visit(visitor, pipeline, visited)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 692, in visit
part.visit(visitor, pipeline, visited)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 692, in visit
part.visit(visitor, pipeline, visited)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/pipeline.py",
line 695, in visit
visitor.visit_transform(self)
File
"/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py",
line 202, in visit_transform
"Found %s for %s" % (input_type, pcoll))
ValueError: Input to GroupByKey must be of Tuple or Any type. Found
Union[Tuple[NoneType, Tuple[Any, Any]], Tuple[NoneType, Tuple[Any, NoneType]]]
for PCollection[assert_that/Group/Flatten.None]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)