Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4439

Kudu DML should report the number of rows that could not be modified

    Details

    • Docs Text:
      Kudu DML executed in shell reuturns # rows modified and # rows attempted to modify but w/ error. No similar feedback over HiveServer2 (jdbc, odbc, etc.) -- only shell. Profile has the same info though.
    • Target Version:

      Description

      Kudu DML operations ignore schema-related conflicts/violations (IMPALA-3710) because Kudu does not support multi-row transactions.

      While the operations will report the number of rows modified through beeswax and the profile (unfortunately HS2 cannot return this information yet, see IMPALA-3713), the operations should also report the total number of rows that could not be modified. There are several reasons why rows might not be successfully modified, and a more detailed mechanism for reporting these errors is desirable but out of scope for now (that work is tracked by IMPALA-4416).

        Issue Links

          Activity

          Hide
          mjacobs Matthew Jacobs added a comment -

          commit 77a2941a42b3023d22f3cc7b2db01a94b4ddec2f
          Author: Matthew Jacobs <mj@cloudera.com>
          Date: Tue Nov 15 19:21:32 2016 -0800

          IMPALA-3713,IMPALA-4439: Fix Kudu DML shell reporting

          Adds support in the shell to report the number of modified
          rows for all DML operations, as well as the number of rows
          with errors.

          Testing: Added shell tests.

          Change-Id: I3d3d7aa8d176e03ea58fb00f2a81fb3e34965aa1
          Reviewed-on: http://gerrit.cloudera.org:8080/5103
          Reviewed-by: Alex Behm <alex.behm@cloudera.com>
          Tested-by: Internal Jenkins

          Show
          mjacobs Matthew Jacobs added a comment - commit 77a2941a42b3023d22f3cc7b2db01a94b4ddec2f Author: Matthew Jacobs <mj@cloudera.com> Date: Tue Nov 15 19:21:32 2016 -0800 IMPALA-3713 , IMPALA-4439 : Fix Kudu DML shell reporting Adds support in the shell to report the number of modified rows for all DML operations, as well as the number of rows with errors. Testing: Added shell tests. Change-Id: I3d3d7aa8d176e03ea58fb00f2a81fb3e34965aa1 Reviewed-on: http://gerrit.cloudera.org:8080/5103 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins

            People

            • Assignee:
              mjacobs Matthew Jacobs
              Reporter:
              mjacobs Matthew Jacobs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development