[ 
https://issues.apache.org/jira/browse/KUDU-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grant Henke resolved KUDU-1424.
-------------------------------
          Resolution: Fixed
       Fix Version/s: 1.4.0
    Target Version/s: 1.4.0

Resolved via commit 
[02ca419bd158ad90a74e2cc66c8c5f7425e93b14|https://github.com/apache/kudu/commit/02ca419bd158ad90a74e2cc66c8c5f7425e93b14]

> java client: Impossible to uniquely identify error rows because PartialRow 
> impl has no getters
> ----------------------------------------------------------------------------------------------
>
>                 Key: KUDU-1424
>                 URL: https://issues.apache.org/jira/browse/KUDU-1424
>             Project: Kudu
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.8.0
>            Reporter: Mike Percy
>            Assignee: Grant Henke
>             Fix For: 1.4.0
>
>
> 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.
> {code}
> 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.
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to