Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3468

Support {INSERT,UPSERT}_IGNORE in the 'kudu table copy' CLI tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • CLI

    Description

      It would be great to make kudu table copy CLI tool supporting INSERT_IGNORE and UPSERT_IGNORE operations. Having that is necessary to make copying tables from one cluster to another re-entrant, i.e. make it possible to restart the script/command (without preliminary resetting/cleaning the destination table) if copying failed in the middle due to some transient error.

      Another approach might be starting a multi-row transaction in the destination Kudu cluster, so in case of a failure all the inserted rows rolled back, but that should be handled as a separate issue.

      Attachments

        Activity

          People

            aserbin Alexey Serbin
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: