You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/20 02:28:38 UTC

[GitHub] [incubator-doris] blackfox1983 commented on issue #3930: [Proposal] Doris support version column for REPLACE aggregate type

blackfox1983 commented on issue #3930:
URL: https://github.com/apache/incubator-doris/issues/3930#issuecomment-676858206


   有两个场景,麻烦看下:
   1、是否支持Aggregate表?即表中有replace(replace_if_not_null)聚合模式以及其他聚合模式。
   2、如果表中有多个replace/replace_if_not_null列,不同列的更新版本是不同的。这类的如何支持?是否要针对列做版本
   
   如表字段为key1, v1(replace), v2(replace_if_not_null)
   几行数据(默认为大的覆盖小的,如v1.2 可以替换v1.0、v1.1)
   k1, v1.1, (NULL)  => 表数据为k1, v1.1, null
   k1, v1.0, v2.1   => 表数据为 k1, v1.1, v2.1
   k1, v1.3, v2.0  => 表数据为 k1, v1.3, v2.1
   这个的背景是不同的字段的版本时间不同(业务上一般拿数据生产时间作为版本,不同的字段由于在多个数据流计算,导致生产时间不一致)
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org