imay commented on issue #2117: [PROPOSAL] Supporting aggregate method of REPLACE_IF_NOT_NULL URL: https://github.com/apache/incubator-doris/issues/2117#issuecomment-548730287 I think the comman way is that we support a `merge(original_value, added_value)` function. All aggregate function can be included in this funcion `sum: orignal + added` `min: added < original ? added : original` `max: added > original ? added : original` `replace: added` `replace_if_not_null: added is null ? original : added` If we do this, I think it will a very very huge work to change already exist work. And I think we can support `replace_if_not_null` first, if we change later, we can unify this to that one. The reason why I choose `replace_if_not_null` is more direct.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
