carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xubo245 (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CARBONDATA-2082) timeseries pre-aggregate table should support the blank space
Date Fri, 26 Jan 2018 03:30:00 GMT

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

xubo245 updated CARBONDATA-2082:
--------------------------------
    External issue URL: https://issues.apache.org/jira/browse/CARBONDATA-1516

> timeseries pre-aggregate table should support the blank space
> -------------------------------------------------------------
>
>                 Key: CARBONDATA-2082
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2082
>             Project: CarbonData
>          Issue Type: Bug
>          Components: core, spark-integration
>    Affects Versions: 1.3.0
>            Reporter: xubo245
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> timeseries pre-aggregate table should support the blank space
> 1.scenario 1
> {code:java}
>   test("test timeseries create table 12: hierarchy type with space") {
>     try {
>       sql(
>         """create datamap agg1 on table mainTable using 'preaggregate'
>           |DMPROPERTIES (
>           |   'timeseries.eventTime'='dataTime',
>           |   'timeseries.hierarchy'='second= 1,hour=1,day=1,month=1,year=1')
>           |as select dataTime, sum(age) from mainTable
>           |group by dataTime
>         """.stripMargin)
>       assert(false)
>     } catch {
>       case e: MalformedCarbonCommandException =>
>         assert(e.getMessage.contains("Unsupported Value for hierarchy:second= 1"))
>         assert(true)
>     }
>   }
> {code}
> 2.scenario 2
> second=1, hour=1,day=1,month=1,year=1



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

Mime
View raw message