[
https://issues.apache.org/jira/browse/CARBONDATA-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravindra Pesala resolved CARBONDATA-2086.
-----------------------------------------
Resolution: Invalid
> Create datamap should throw exception if using improper string
> --------------------------------------------------------------
>
> Key: CARBONDATA-2086
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-2086> Project: CarbonData
> Issue Type: Bug
> Components: core, spark-integration
> Affects Versions: 1.3.0
> Reporter: xubo245
> Priority: Major
> Fix For: 1.3.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Create datamap should throw exception if using improper string
> {code:java}
> // TODO: to be fixed, it should throw exception
> ignore("test timeseries create table 34: using") {
> val e: Exception = intercept[Exception] {
> sql(
> """create datamap agg1 on table mainTable
> | using 'abc'
> | DMPROPERTIES (
> | 'timeseries.eventTime'='dataTime',
> | 'timeseries.hierarchy'='second=1,year=1')
> | as select dataTime, sum(age) from mainTable
> | group by dataTime
> """.stripMargin)
> }
> assert(e.getMessage.contains("Don't support abc"))
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)