You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2018/06/20 17:03:00 UTC
[jira] [Commented] (KUDU-2482) Add "delete ignore" capability to
spark
[ https://issues.apache.org/jira/browse/KUDU-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16518350#comment-16518350 ]
Dan Burkert commented on KUDU-2482:
-----------------------------------
KUDU-1563 is related, which discusses some other constraints that applications sometimes want to ignore.
> Add "delete ignore" capability to spark
> ---------------------------------------
>
> Key: KUDU-2482
> URL: https://issues.apache.org/jira/browse/KUDU-2482
> Project: Kudu
> Issue Type: Improvement
> Components: spark
> Affects Versions: 1.7.1
> Reporter: Will Berkeley
> Priority: Major
>
> If a user tries to delete a row from a Kudu table using kudu-spark but the row is not present, they receive an exception like
> {{java.lang.RuntimeException: failed to write N rows from DataFrame to Kudu; sample errors: Not found: key not found (error 0)}}
> This is the expected behavior, but it might also be nice to allow users to ignore PK errors so they can achieve clean semantics of "delete if present, else ignore".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)