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/01/27 08:54:00 UTC
[jira] [Closed] (CARBONDATA-2083) Timeseries pre-aggregate table
should support hour != 1 , others are the same
[ 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)