You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (Jira)" <ji...@apache.org> on 2023/04/06 18:27:00 UTC

[jira] [Created] (KUDU-3468) Support {INSERT,UPSERT}_IGNORE in the 'kudu table copy' CLI tool

Alexey Serbin created KUDU-3468:
-----------------------------------

             Summary: Support {INSERT,UPSERT}_IGNORE in the 'kudu table copy' CLI tool
                 Key: KUDU-3468
                 URL: https://issues.apache.org/jira/browse/KUDU-3468
             Project: Kudu
          Issue Type: Improvement
          Components: CLI
            Reporter: Alexey Serbin


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)