Uploaded image for project: 'Couchbase Spark Connector'
  1. Couchbase Spark Connector
  2. SPARKC-157

Support "ignore" variants for insert, replace and remove

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.2.2
    • None
    • None
    • None
    • 1
    • SDK24: Lambda + Known Issues

    Description

      Right now the migration guide states:

      saveToCouchbase(StoreMode.INSERT_AND_FAIL or INSERT_AND_IGNORE)
      ->
      couchbaseInsert

      saveToCouchbase(StoreMode.REPLACE_AND_FAIL or REPLACE_AND_IGNORE)
      ->
      couchbaseReplace

      But the IGNORE variants are not available right now. Needs to be added (see https://forums.couchbase.com/t/unable-to-replace-and-ignore-documentnotfoundexception-since-spark-connector-3-x/33719)

      Note: ideally this should work across RDDs and DFs somehow.

      Attachments

        Activity

          People

            daschl Michael Nitschinger
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty