You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/04/14 18:04:00 UTC
[jira] [Updated] (BEAM-14115) Update find criteria limited to _id
[ https://issues.apache.org/jira/browse/BEAM-14115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles updated BEAM-14115:
-----------------------------------
Fix Version/s: 2.38.0
Resolution: Fixed
Status: Resolved (was: Triage Needed)
> Update find criteria limited to _id
> -----------------------------------
>
> Key: BEAM-14115
> URL: https://issues.apache.org/jira/browse/BEAM-14115
> Project: Beam
> Issue Type: Bug
> Components: io-java-mongodb
> Affects Versions: 2.37.0
> Reporter: Olivier Le Quellec
> Assignee: Olivier Le Quellec
> Priority: P2
> Fix For: 2.38.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Documents update during write operations specify a find criteria, which is currently hard-coded to be on "_id" only. This is blocking for a lot scenarios, where we would like to upsert on a business-related document field
> By adding "findKey" in UpdateConfiguration, we can specify a find criteria on any field of the document. The "findKey" will default to "_id" if not specified
--
This message was sent by Atlassian Jira
(v8.20.1#820001)