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

Yingchun Lai updated KUDU-2889:
-------------------------------
    Description: 
In prepare phase of write path, some row data may have some errors, like 
missing a non-nullable field value, then the whole batch will fail.

It's a kind of waste, we should take best effect for the batch as how it in 
apply phase, partial rows error not fail the whole batch operation.

 

for example, these code can be improved:

https://github.com/apache/kudu/blob/master/src/kudu/common/row_operations.cc#L387

  was:
In prepare phase of write path, some row data may have some errors, like 
missing a non-nullable field value, then the whole batch will fail.

It's a kind of waste, we should take best effect for the batch as how it in 
apply phase, partial rows error not fail the whole batch operation.


> Per-row error indication in prepare phase
> -----------------------------------------
>
>                 Key: KUDU-2889
>                 URL: https://issues.apache.org/jira/browse/KUDU-2889
>             Project: Kudu
>          Issue Type: Improvement
>          Components: tserver
>    Affects Versions: 0.10.0
>            Reporter: Yingchun Lai
>            Assignee: Yingchun Lai
>            Priority: Minor
>
> In prepare phase of write path, some row data may have some errors, like 
> missing a non-nullable field value, then the whole batch will fail.
> It's a kind of waste, we should take best effect for the batch as how it in 
> apply phase, partial rows error not fail the whole batch operation.
>  
> for example, these code can be improved:
> https://github.com/apache/kudu/blob/master/src/kudu/common/row_operations.cc#L387



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to