[
https://issues.apache.org/jira/browse/IGNITE-22988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov updated IGNITE-22988:
--------------------------------------
Fix Version/s: 3.0
> Sql. Align implementations of average calculation (AVG)
> -------------------------------------------------------
>
> Key: IGNITE-22988
> URL: https://issues.apache.org/jira/browse/IGNITE-22988
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Iurii Gerzhedovich
> Assignee: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> We have Map/Reduce and Collocated algorithms of implementations for
> calculation average values.
> At least for the DECIMAL type we have different implementations which can
> produce different precision/scale of results and value of results.
> We need to do the following:
> 1) Check implementations of AVG for all types and align them, including
> resolving types of results.
> 2) The result type of AVG in the plan and the real result type after
> execution should be identical.
> Points to start investigate:
> # ItAggregatesTest
> # AccumulatorsFactory
> # IgniteSqlFunctions#decimalDivide
> # MapReduceAggregates#createAvgAgg
--
This message was sent by Atlassian Jira
(v8.20.10#820010)