Hi @Anonymous ,
I had discussion with PG team also reproduced my end. Below are the complete details.
id
field in cosmos db item will going to act as Key column to perform update or delete or upsert. Hence You cannot updateid
field of document in cosmos db from dataflow.
Please note, while you want to perform update or delete actions then mentioning partition Key
is mandatory. Because based on that partition key service to go and search of id
field value and if matching found then service will perform update or delete accordingly.
In below screenshots example, my source data id
will get mapped with Sink data id
(cosmos Db document id
) and then if matching found then update will happen if not insert will happen. Please note, category
is partition key of my collection in cosmos DB.
Hope this helps. Please let us know if any further queries.
-----------
Please consider hitting Accept Answer
button. Accepted answers help community as well.