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

Add "delete ignore" capability to spark

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 1.14.0
    • spark
    • None

    Description

      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".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wdberkeley William Berkeley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: