carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xubo245 (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CARBONDATA-2083) Timeseries pre-aggregate table should support hour != 1 , others are the same
Date Sat, 27 Jan 2018 08:54:00 GMT

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

xubo245 closed CARBONDATA-2083.
-------------------------------
    Resolution: Won't Fix

no need to support in this version

> Timeseries pre-aggregate table should support hour != 1 , others are the same 
> ------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-2083
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2083
>             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: 40m
>  Remaining Estimate: 0h
>
> test case find the error:
> {code:java}
>   test("test timeseries create table 13: don't support hour=2") {
>     try {
>       sql(
>         """create datamap agg1 on table mainTable using 'preaggregate'
>           |DMPROPERTIES (
>           |   'timeseries.eventTime'='dataTime',
>           |   'timeseries.hierarchy'='hour=2')
>           |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:hour=2"))
>     } finally {
>       checkExistence(sql("show tables"), false, "maintable_agg1_hour")
>     }
>   }
> {code}



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

Mime
View raw message