[ https://issues.apache.org/jira/browse/FLINK-34376 ]


    Yunhong Zheng deleted comment on FLINK-34376:
    ---------------------------------------

was (Author: JIRAUSER287975):
Hi, [~liufangliang] . Can you provide your SQL pattern? This would allow for a 
clearer description of the issue.

> 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