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

Conditional updating the column value

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • tablet
    • Patch

    Description

      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).

      Attachments

        Activity

          People

            xiaokai xiaokai.wang
            xiaokai xiaokai.wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: