[ 
https://issues.apache.org/jira/browse/BEAM-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218412#comment-17218412
 ] 

Beam JIRA Bot commented on BEAM-10833:
--------------------------------------

This issue was marked "stale-assigned" and has not received a public comment in 
7 days. It is now automatically unassigned. If you are still working on it, you 
can assign it to yourself again. Please also give an update about the status of 
the work.

> Error inferring type of tuple output
> ------------------------------------
>
>                 Key: BEAM-10833
>                 URL: https://issues.apache.org/jira/browse/BEAM-10833
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Priority: P1
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> {code:python}
> with beam.Pipeline() as p:
>   class Foo(beam.DoFn):
>     def process(self, element):
>       k, v = element
>       yield (k, {k:v})
>   a = [('a',1), ('a',1), ('b',1)]
>   input = p | beam.Create(a)
>   print(input.element_type)  # ok
>   pcoll = input | beam.ParDo(Foo())
>   print(pcoll.element_type) # claims Tuple[int, Dict[Any, Any]]
> # BOOM on run due to coder errors
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to