[
https://issues.apache.org/jira/browse/KUDU-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222161#comment-17222161
]
ASF subversion and git services commented on KUDU-1563:
-------------------------------------------------------
Commit 17d569b870e8fb3978a8c02bc1170057a42ca7cc in kudu's branch
refs/heads/master from Grant Henke
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=17d569b ]
[java] KUDU-1563. Add support for UPDATE_IGNORE and DELETE_IGNORE
Implements java support for the `UPDATE_IGNORE' and
`DELETE_IGNORE` operations.
I manually tested this against an old server version without
these operations supported and it returns the correct
error with a message that says: “Unknown operation type”.
Change-Id: I6c3cf71b2a487bb18fe195fe20795216aff8e8f9
Reviewed-on: http://gerrit.cloudera.org:8080/16665
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
> Add support for INSERT/UPDATE/DELETE IGNORE
> -------------------------------------------
>
> Key: KUDU-1563
> URL: https://issues.apache.org/jira/browse/KUDU-1563
> Project: Kudu
> Issue Type: New Feature
> Reporter: Dan Burkert
> Assignee: Grant Henke
> Priority: Major
> Labels: backup, impala, roadmap-candidate
>
> The Java client currently has an [option to ignore duplicate row key errors|
> https://kudu.apache.org/apidocs/org/kududb/client/AsyncKuduSession.html#setIgnoreAllDuplicateRows-boolean-],
> which is implemented by filtering the errors on the client side. If we are
> going to continue to support this feature (and the consensus seems to be that
> we probably should), we should promote it to a first class operation type
> that is handled on the server side. This would have a modest perf.
> improvement since less errors are returned, and it would allow INSERT IGNORE
> ops to be mixed in the same batch as other INSERT, DELETE, UPSERT, etc. ops.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)