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/01 06:51:00 UTC

[jira] [Assigned] (CARBONDATA-2082) Timeseries pre-aggregate table should support the blank space

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

xubo245 reassigned CARBONDATA-2082:
-----------------------------------

    Assignee: xubo245

> 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
>            Assignee: xubo245
>            Priority: Minor
>             Fix For: 1.3.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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)