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

Ravindra Pesala resolved CARBONDATA-1517.
-----------------------------------------
       Resolution: Fixed
         Assignee: kumar vishal
    Fix Version/s: 1.3.0

> 1. Support CTAS in carbon and support creating aggregation tables using 
> CTAS.And update aggregation table information to main table schema.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1517
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1517
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: Ravindra Pesala
>            Assignee: kumar vishal
>             Fix For: 1.3.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> User should add aggregation tables with following syntax
> {code}
> CREATE TABLE agg_sales 
> STORED BY 'carbondata'
> TBLPROPERTIES ('parent_table'='sales') 
> AS SELECT user_id, sum(quantity), avg(price) FROM sales GROUP BY user_id
> {code}



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

Reply via email to