You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2017/11/12 10:58:00 UTC

[jira] [Resolved] (CARBONDATA-1520) 4 Load aggregation tables from main table after finish.

     [ https://issues.apache.org/jira/browse/CARBONDATA-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala resolved CARBONDATA-1520.
-----------------------------------------
       Resolution: Fixed
         Assignee: Kunal Kapoor
    Fix Version/s: 1.3.0

> 4 Load aggregation tables from main table after finish.
> -------------------------------------------------------
>
>                 Key: CARBONDATA-1520
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1520
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: Ravindra Pesala
>            Assignee: Kunal Kapoor
>             Fix For: 1.3.0
>
>          Time Spent: 9.5h
>  Remaining Estimate: 0h
>
> Generate 'insert into ' query for every aggregation table and execute it. 
> {code}
> insert into table agg_table select UDF(order_time, day) , user_id, sum(quantity), sum(price) from orders
> {code}
> Here the selection of aggregation types should be depending on aggtypes mentioned while creating aggregation tables.
> Here AVG should be stored as COUNT and SUM separately. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)