[
https://issues.apache.org/jira/browse/IGNITE-22817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Orlov updated IGNITE-22817:
--------------------------------------
Fix Version/s: 3.0.0-beta2
> Sql. Align rule of conversion between numerics
> ----------------------------------------------
>
> Key: IGNITE-22817
> URL: https://issues.apache.org/jira/browse/IGNITE-22817
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Konstantin Orlov
> Assignee: Konstantin Orlov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Class {{IgniteMath}} contains set of methods to do conversion from one
> numeric to another with bound check. The problem is that rules of bound check
> differs from one type pair to another: some pairs has strict rules, some
> pairs allow to have decimal part of arbitrary size, some pairs do bound check
> after rounding initial value with HALF UP strategy.
> We need to make bound check consistent for all type pairs. Since we are going
> to truncate decimal part during conversion to. integers, it's suggested to do
> bound check accordingly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)