Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35616

Support upsert into sharded collections for MongoRowDataSerializationSchema

    XMLWordPrintableJSON

Details

    Description

      For a db.collection.update() operation that includes upsert: true and is on a sharded collection, the full sharded key must be included in the filter:

      • For an update operation.
      • For a replace document operation (starting in MongoDB 4.2).

      https://www.mongodb.com/docs/manual/reference/method/db.collection.update/#upsert-on-a-sharded-collection

      We need to allow users to configure the full sharded key field names to upsert into the sharded collection.

      Attachments

        Issue Links

          Activity

            People

              jiabaosun Jiabao Sun
              jiabaosun Jiabao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: