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

Java Client Not Honoring setIgnoreAllDuplicateRows When Inserting Duplicate Values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1, 1.5.0
    • 1.7.0
    • client
    • None

    Description

      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.

      Attachments

        1. Sample.java
          3 kB
          Scott Black

        Issue Links

          Activity

            People

              wdberkeley William Berkeley
              sblack522 Scott Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: