You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shao Feng Shi (Jira)" <ji...@apache.org> on 2020/05/27 10:38:00 UTC
[jira] [Resolved] (KYLIN-1345) measure type expansion when dealing
sum of decimal metric
[ https://issues.apache.org/jira/browse/KYLIN-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shao Feng Shi resolved KYLIN-1345.
----------------------------------
Assignee: (was: Edward Zhang)
Resolution: Done
> measure type expansion when dealing sum of decimal metric
> ---------------------------------------------------------
>
> Key: KYLIN-1345
> URL: https://issues.apache.org/jira/browse/KYLIN-1345
> Project: Kylin
> Issue Type: Improvement
> Reporter: Hongbin Ma
> Priority: Major
> Labels: newbie
>
> suppose a metric column price is of type decimal (6,2), the sum aggregator of it might exceed the maximal of decimal (6,2). Currently for metric aggregators we inherite the column's type in hive. We should think auto expanding decimal type to decimal(18,4) (just an example) for such cases
--
This message was sent by Atlassian Jira
(v8.3.4#803005)