Lavrenty Eskin created PHOENIX-1708:
---------------------------------------

             Summary: SUM aggregation on DECIMAL (X,Y) leads TO DECIMAL(0,0)
                 Key: PHOENIX-1708
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1708
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.3
            Reporter: Lavrenty Eskin
            Priority: Blocker


T1.VAL has DECIMAL(8,2) datatype

select T1.VAL from T1;  <<== return getScale()=2, getPrecision=8
select sum(T1.VAL) from T1; <<== return getScale()=0, getPrecision=0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to