EmmyMiao87 commented on issue #2101: 明细表支持预聚合
URL: 
https://github.com/apache/incubator-doris/issues/2101#issuecomment-548197741
 
 
   > > alter table sales add rollup agg_sales as
   > > SELECT country, sex, sum(quantity), sum(price)
   > > FROM sales
   > > GROUP BY country, sex
   > 
   > `ALTER TABLE sales ADD ROLLUP(country, sex, sum(quantity), sum(price));`
   > 
   > 直接这样是不是简洁点?
   
   后者唯一的问题在于不好扩展,我再想想

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

Reply via email to