You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/03 03:22:00 UTC

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

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

Grant Henke updated KUDU-2587:
------------------------------
    Labels: features roadmap-candidate  (was: features)

> Conditional updating the column value
> -------------------------------------
>
>                 Key: KUDU-2587
>                 URL: https://issues.apache.org/jira/browse/KUDU-2587
>             Project: Kudu
>          Issue Type: New Feature
>          Components: tablet
>            Reporter: xiaokai.wang
>            Assignee: xiaokai.wang
>            Priority: Minor
>              Labels: features, roadmap-candidate
>
> 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
(v8.3.4#803005)