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

java client: Impossible to uniquely identify error rows because PartialRow impl has no getters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 1.4.0
    • client
    • None

    Description

      The java client API error handling idiom looks roughly like the below. If a client is to identify a problem row in order to automatically retry it, we need to expose getters on PartialRow.

      List<OperationResponse> responses = session.flush();
      for (OperationResponse response : responses) {
        if (response.hasRowError()) {
          Operation errorOp = response.getRowError().getOperation();
          PartialRow errorRow = errorOp.getRow();
          // RowId = ... ?
          // The PartialRow java implementation has no getters.
        }
      }
      

      Attachments

        Activity

          People

            granthenke Grant Henke
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: