Kevin Liew created PHOENIX-2483:
-----------------------------------
Summary: Aggregate functions on floating point values have a fixed
scale of 4
Key: PHOENIX-2483
URL: https://issues.apache.org/jira/browse/PHOENIX-2483
Project: Phoenix
Issue Type: Bug
Reporter: Kevin Liew
Fix For: 4.6.0
Doing a sum with the first column being a FLOAT or DOUBLE will return a DECIMAL
with a fixed scale of 4.
Doing any multiplication or division will also result in a DECIMAL with scale 4.
I propose that the return value should either:
-always be DECIMAL with appropriate scale
or
-match the metadata of the first column
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)