NagisaVon commented on PR #22400:
URL: https://github.com/apache/beam/pull/22400#issuecomment-1263953524

   > Thanks for the contribution. The change is fine to me. I am wondering if 
we could also provide a WriteFunc for update that is ready-to-use as this use 
case is implied in the documentation change.
   > 
   > Generally we're trying to make the work consistent among SDKs. In Java SDK 
MongoDBIO insert/replace and update are distinguished by different 
configurations, as documented here: 
https://beam.apache.org/releases/javadoc/2.41.0/org/apache/beam/sdk/io/mongodb/MongoDbIO.html
 While Python SDK now only supports insert/replace (and does not support 
update). Providing update mode could also help to converge this gap.
   
   Thanks, those are great suggestions. I will take a look at the Java SDK and 
work on providing a default replace write function. 


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