You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/22 20:57:24 UTC

[GitHub] [beam] TheNeuralBit commented on issue #22000: [Bug]: Possible regression in 0de98210f .

TheNeuralBit commented on issue #22000:
URL: https://github.com/apache/beam/issues/22000#issuecomment-1163593155

   Thanks @tvalentyn. I repro'ed and got the full stack trace"
   
   ```
         Root cause: Python exception: Traceback (most recent call last):
     File "apache_beam/runners/common.py", line 1417, in apache_beam.runners.common.DoFnRunner.process
       return self.do_fn_invoker.invoke_process(windowed_value)
     File "apache_beam/runners/common.py", line 623, in apache_beam.runners.common.SimpleInvoker.invoke_process
       self.output_handler.handle_process_outputs(
     File "apache_beam/runners/common.py", line 1564, in apache_beam.runners.common._OutputHandler.handle_process_outputs
       results = results or []
   ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
   ```
   
   This looks to be due to an unnecessary cleanup I included in 0de98210f4531fbfd88265bc02052b27bd299602: https://github.com/apache/beam/commit/0de98210f4531fbfd88265bc02052b27bd299602#diff-350e908b1c77bb2c78ff5a16f77e7da591ea87dd3911a296be8c598162896b19R1608
   
   I will roll that part back and propose a cherrypick.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org