je-ik commented on issue #24655:
URL: https://github.com/apache/beam/issues/24655#issuecomment-7137964512

   @alisha-1000 That would definitely be an interesting discussion. I think 
this is correctness bug, but it is a pretty much an edge case, though with 
nasty consequences. The ML thread describes the issue, but the solution is 
fairly non-trivial.
   
   There are several "indirect markers" of whether a DoFn has some 
(asynchronous) side-effects - we can look it DoFn makes use of @StartBundle, 
@FinishBundle life-cycle (often used when communicating with external likely 
non-deterministic services), but these aren't sufficient condition. The 
function itself has to be deterministic, where the an explicit annotation can 
make sense. On the other hand, it is fairly questionable if it will be ever 
used, it is more likely that this could be inserted automatically for SQL/yaml 
transforms where the logic is more easy to analyze.
   
   Anyway, if you have any ideas definitely feel free to start new ML 
discussion thread and let's see where we can get.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to