deemoliu opened a new pull request, #9665:
URL: https://github.com/apache/pinot/pull/9665

   Add max and min partial upsert pre-defined mergers. They can be used for the 
following use case.
   `feature` `enhancement`
   
   ```
   existing doc (offered_earliest_time = 10:00:00, offered_latest_time = 
10:03:00) 
   new doc (offered.time = 10:05:00)
   -> expected new doc (offered_earliest_time = 10:00:00, offered_latest_time = 
10:05:00)
   ```
   
   We can enable these mergers in the upsert Config as follows
   
   ```
   {
     "upsertConfig": {
       "mode": "PARTIAL",
       "partialUpsertStrategies":{
         "offered_earliest_time": "MIN",
         "offered_latest_time": "MAX"
       }
     }
   }
   
   ```
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to