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

ASF GitHub Bot logged work on BEAM-6404:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Jan/19 15:42
            Start Date: 19/Jan/19 15:42
    Worklog Time Spent: 10m 
      Work Description: mxm commented on issue #7456: [BEAM-6404] Fix issue 
with side inputs and flatten encoding.
URL: https://github.com/apache/beam/pull/7456#issuecomment-455790695
 
 
   ```
   ERROR: test_flattened_side_input (_main_.FlinkRunnerTest)
   ----------------------------------------------------------------------
   Traceback (most recent call last)
   File "apache_beam/runners/portability/fn_api_runner_test.py", line 205, in 
test_flattened_side_input
   label='CheckFlattenOfSideInput')
   File "apache_beam/pipeline.py", line 425, in _exit_
   self.run().wait_until_finish()
   File "apache_beam/runners/portability/portable_runner.py", line 349, in 
wait_until_finish
   self._job_id, self._state, self._last_error_message()))
   RuntimeError: Pipeline 
test_flattened_side_input_1547859357.36_07dcde9b-acfc-4e8d-b930-582f7637a07e 
failed in state FAILED: java.lang.IllegalArgumentException: PCollectionNodes 
[PCollectionNode
   {id=ref_PCollection_PCollection_12, PCollection=unique_name: 
"17side3/Map(decode).None" coder_id: "ref_Coder_BytesCoder_1" is_bounded: 
BOUNDED windowing_strategy_id: "ref_Windowing_Windowing_1" }
   
   ] were consumed but never produced```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 187346)
    Time Spent: 1h 40m  (was: 1.5h)

> 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
>            Assignee: Robert Bradshaw
>            Priority: Major
>          Time Spent: 1h 40m
>  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
(v7.6.3#76005)

Reply via email to