You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Scott Black (JIRA)" <ji...@apache.org> on 2017/07/03 05:33:00 UTC

[jira] [Created] (KUDU-2061) Java Client Not Honoring setIgnoreAllDuplicateRows When Inserting Duplicate Values

Scott Black created KUDU-2061:
---------------------------------

             Summary: Java Client Not Honoring setIgnoreAllDuplicateRows When Inserting Duplicate Values
                 Key: KUDU-2061
                 URL: https://issues.apache.org/jira/browse/KUDU-2061
             Project: Kudu
          Issue Type: Bug
          Components: java
    Affects Versions: 1.3.1, 1.5.0
            Reporter: Scott Black


Duplicate values on insert are not causing warning/error to be returned when setIgnoreAllDuplicateRows is set to false. This is silently causing data loss.

Test case. Use the example code from [https://github.com/cloudera/kudu-examples/blob/master/java/java-sample/src/main/java/org/kududb/examples/sample/Sample.java]. Change line 43 to insert an constant. 3 inserts will execute but only a single row with no error is thrown. See KUDU-1563 as it seems all inserts are now ignore inserts.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)