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/09/01 18:42:46 UTC

[GitHub] [beam] TheNeuralBit commented on issue #22969: Discrepancy in behavior of `DoFn.process()` when `yield` is combined with `return` statement, or vice versa

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

   Thanks for the detailed report @toransahu 
   
   In the short-term we should at least update the docs to indicate that mixing return and yield leads to undefined behavior. (optional) medium-term: detect this situation and fail at construction time. Long-term: Enable mixing yield and return.
   
   CC: @tvalentyn @robertwb 


-- 
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