You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/12/06 02:21:33 UTC

[GitHub] [incubator-druid] jon-wei commented on issue #8966: Issue while updating the data in Datasource

jon-wei commented on issue #8966: Issue while updating the data in Datasource
URL: https://github.com/apache/incubator-druid/issues/8966#issuecomment-562403965
 
 
   > My doubt is, In step 3 the count of the tiger is getting decreased by 1 but I think it should not be changed since there are no changes in step 3 for tiger and there is no number change also
   
   Between step 2 and 3, the datasource only has 1 "tiger" row.
   
   If you reingest that datasource with a "count" aggregator, the "count" aggregator will only see 1 row, hence "tiger" with "count=1" in step 3.
   
   If you want to preserve the counts during reingestion, you'll want to use a longSum aggregator on the "count" column instead

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


With regards,
Apache Git Services

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