You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/10 17:08:22 UTC

[jira] [Commented] (BEAM-6404) FnAPI translation error

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

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

This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.


> FnAPI translation error
> -----------------------
>
>                 Key: BEAM-6404
>                 URL: https://issues.apache.org/jira/browse/BEAM-6404
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Priority: P2
>              Labels: stale-P2
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
>  {code:java}
> def run(argv=None):
>   parser = argparse.ArgumentParser()
>   _, pipeline_args = parser.parse_known_args(argv)
>   options = pipeline_options.PipelineOptions(pipeline_args)
>   numbers = [1, 2]
>   with beam.Pipeline(options=options) as p:
>     sum_1 = (p
>              | 'ReadNumber1' >> transforms.Create(numbers)
>              | 'CalculateSum1' >> beam.CombineGlobally(fn_sum))
>     sum_2 = (p
>              | 'ReadNumber2' >> transforms.Create(numbers)
>              | beam.ParDo(_copy_number, pvalue.AsSingleton(sum_1))
>              | 'CalculateSum2' >> beam.CombineGlobally(fn_sum))
>     _ = ((sum_1, sum_2)
>          | beam.Flatten()
>          | 'CalculateSum3' >> beam.CombineGlobally(fn_sum)
>          | beam.io.WriteToText('out.txt'))
> run()
> {code}
>  
> fails with 
> KeyError: u'ref_Coder_FastPrimitivesCoder_4_windowed'



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