[ 
https://issues.apache.org/jira/browse/FLINK-34376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fangliang Liu updated FLINK-34376:
----------------------------------
    Attachment: image-2024-02-06-11-17-03-399.png

> FLINK SQL SUM() causes a precision error
> ----------------------------------------
>
>                 Key: FLINK-34376
>                 URL: https://issues.apache.org/jira/browse/FLINK-34376
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>    Affects Versions: 1.14.3, 1.18.1
>            Reporter: Fangliang Liu
>            Priority: Major
>         Attachments: image-2024-02-06-11-15-02-669.png, 
> image-2024-02-06-11-17-03-399.png
>
>
> {code:java}
> select cast(sum(CAST(9.000000000000000011 AS DECIMAL(38,18)) *10 ) as STRING) 
> {code}
> the result in 1.14.3 and master branch isĀ 
> !image-2024-02-06-11-15-02-669.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to