You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xubo245 (JIRA)" <ji...@apache.org> on 2018/02/12 08:30:00 UTC

[jira] [Updated] (CARBONDATA-2158) Pre-aggregate table don't support 'AS SELECT * FROM MAINTABLE'

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

xubo245 updated CARBONDATA-2158:
--------------------------------
    Description: 
Pre-aggregate table don't support 'AS SELECT * FROM MAINTABLE'

{code:java}
 + test("test pre agg create table 27: select * and no group by") {
 +    intercept[Exception] {
 +      sql(
 +        """
 +          | CREATE DATAMAP IF NOT EXISTS agg0 ON TABLE mainTable
 +          | USING 'preaggregate'
 +          | AS SELECT *  FROM maintable
 +        """.stripMargin)
 +    }
 +  }
{code}

see: https://github.com/apache/carbondata/pull/1857/files


  was:Pre-aggregate table don't support 'AS SELECT * FROM MAINTABLE'


> Pre-aggregate table don't support 'AS SELECT * FROM MAINTABLE'
> --------------------------------------------------------------
>
>                 Key: CARBONDATA-2158
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2158
>             Project: CarbonData
>          Issue Type: Bug
>          Components: spark-integration
>    Affects Versions: 1.3.0
>            Reporter: xubo245
>            Priority: Major
>
> Pre-aggregate table don't support 'AS SELECT * FROM MAINTABLE'
> {code:java}
>  + test("test pre agg create table 27: select * and no group by") {
>  +    intercept[Exception] {
>  +      sql(
>  +        """
>  +          | CREATE DATAMAP IF NOT EXISTS agg0 ON TABLE mainTable
>  +          | USING 'preaggregate'
>  +          | AS SELECT *  FROM maintable
>  +        """.stripMargin)
>  +    }
>  +  }
> {code}
> see: https://github.com/apache/carbondata/pull/1857/files



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)