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

Akash R Nilugal updated CARBONDATA-4035:
----------------------------------------
    Comment: was deleted

(was:  sql("drop table if exists special_char")
sql("create table special_char(`i#d` string, `nam(e` string,`ci)&#@!ty` 
string,`a\be` int, `ag!e` float, `na^me1` Decimal(8,4), ```a``bc``!!d``` int) 
stored as carbondata" +
        " tblproperties('INVERTED_INDEX'='`a`bc`!!d`', 
'SORT_COLUMNS'='`a`bc`!!d`')"))

> MV table is not hit when sum() is applied on decimal column.
> ------------------------------------------------------------
>
>                 Key: CARBONDATA-4035
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4035
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Akash R Nilugal
>            Assignee: Akash R Nilugal
>            Priority: Minor
>
> MV table is not hit when sum() is applied on decimal column.
> sql("drop table if exists sum_agg_decimal")
>     sql("create table sum_agg_decimal(salary1 decimal(7,2),salary2 
> decimal(7,2),salary3 decimal(7,2),salary4 decimal(7,2),empname string) stored 
> as carbondata")
>     sql("drop materialized view if exists decimal_mv")
>     sql("create materialized view decimal_mv as select empname, sum(salary1 - 
> salary2) from sum_agg_decimal group by empname")
>     sql("explain select empname, sum( salary1 - salary2) from sum_agg_decimal 
> group by empname").show(false)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to