[
https://issues.apache.org/jira/browse/FLINK-28744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-28744.
--------------------------------
Release Note: Due to CALCITE-4861 (Optimization of chained CAST calls can
lead to unexpected behavior), also Flink's casting behavior has slightly
changed. Some corner cases might behave differently now: For example, casting
from FLOAT/DOUBLE 9234567891.12 to INT/BIGINT has now Java behavior for
overflows. (was: Since in Calcite 1.31.0 there was fixed issue
https://issues.apache.org/jira/browse/CALCITE-4861 (Optimization of chained
CAST calls can lead to unexpected behavior) it impacts Flink cast of numbers
behavior.
This could lead to different result in SQL casts for cases where overflow of
one of the types is happened)
Resolution: Fixed
Fixed in master: ab6a81118b45c06e822f3c77468dd7d0afb66b9e
> Upgrade Calcite version to 1.31
> -------------------------------
>
> Key: FLINK-28744
> URL: https://issues.apache.org/jira/browse/FLINK-28744
> Project: Flink
> Issue Type: Technical Debt
> Components: Table SQL / API
> Reporter: Martijn Visser
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
>
> We should upgrade to Calcite 1.31 so we can benefit from
> https://issues.apache.org/jira/browse/CALCITE-4865
--
This message was sent by Atlassian Jira
(v8.20.10#820010)