You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "xiaokai.wang (JIRA)" <ji...@apache.org> on 2018/09/22 16:49:00 UTC

[jira] [Created] (KUDU-2587) Conditional updating the column value

xiaokai.wang created KUDU-2587:
----------------------------------

             Summary: Conditional updating the column value
                 Key: KUDU-2587
                 URL: https://issues.apache.org/jira/browse/KUDU-2587
             Project: Kudu
          Issue Type: Improvement
          Components: tablet
            Reporter: xiaokai.wang


If wanting to keep max/min value in kudu, before updating data you should check the data in kudu, deciding whether to update the data through comparing. All this you should call kudu twice when needing to update data.

Increasing a attribute of 'UpdatingType' to 'ColumnSchema' can only call kudu one time. Before using, you should set the column updating type: max/min/overwrite. After that, you can just update data the way before. When scanning, you can get the data of max/min(delta file applying based on the column attribute). When compacting, base data will be max/min if setting column max/min.

Also supporting force over wring way when you want to force updating(when column setting max/min).



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