Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6983 Python 3.6 Support
  3. BEAM-6429

apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest.test_multimap_side_input fails in Python 3.6

Details

    • Sub-task
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.14.0
    • sdk-py-core
    • None

    Description

      ERROR: test_multimap_side_input (apache_beam.runners.portability.fn_api_runner_test.FnApiRunnerTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py", line 230, in test_multimap_side_input
       equal_to([('a', [1, 3]), ('b', [2])]))
       File "/beam/sdks/python/apache_beam/pipeline.py", line 425, in __exit__
       self.run().wait_until_finish()
       File "/beam/sdks/python/apache_beam/pipeline.py", line 405, in run
       self._options).run(False)
       File "/beam/sdks/python/apache_beam/pipeline.py", line 418, in run
       return self.runner.run_pipeline(self, self._options)
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", line 265, in run_pipeline
       default_environment=self._default_environment))
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", line 268, in run_via_runner_api
       return self.run_stages(*self.create_stages(pipeline_proto))
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", line 355, in run_stages
       safe_coders)
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", line 449, in run_stage
       elements_by_window = _WindowGroupingBuffer(si, value_coder)
       File "/beam/sdks/python/apache_beam/runners/portability/fn_api_runner.py", line 191, in __init__
       self._key_coder = coder.wrapped_value_coder.key_coder()
       File "/beam/sdks/python/apache_beam/coders/coders.py", line 177, in key_coder
       raise ValueError('Not a KV coder: %s.' % self)
      ValueError: Not a KV coder: BytesCoder.

      Attachments

        Issue Links

          Activity

            People

              udim Udi Meiri
              tvalentyn Valentyn Tymofieiev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h