Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
6.1.1
-
None
-
2021-5, 2021-6, 2021-8, 2021-9
Description
As of now MCS uses long double as an internal data for results of avg() and sum() for numerical data types columns except wide-decimal.
This approach imposes a number of limitations, e.g. we can not safely join on the aggregates results being a float number. Presumably long double math operations are slower comparing to int128.
This gets us to the point of replacing long double with wide-decimal as a result of avg() and sum() for all integer data types. This causes a wide consequences that covers lots of facilities of the code. The full list can be obtained by search for LONGDOUBLE in the repo.
Attachments
Issue Links
- duplicates
-
MCOL-4667 Precision loss on AVG(decimal)
- Open
- includes
-
MCOL-4548 Regression: expression in HAVING clause not working right abs(avg())
- Closed
- is duplicated by
-
MCOL-4492 Aggregated DOUBLES (AVG and SUM) do not compare properly, especially with constants and non aggregated doubles.
- Closed
- is part of
-
MCOL-641 Full DECIMAL support in ColumnStore
- Closed