[ 
https://issues.apache.org/jira/browse/FLINK-36565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898188#comment-17898188
 ] 

Leonard Xu commented on FLINK-36565:
------------------------------------

master: 4bd3a2347bf4a8235a0cc4cd3c3b74447c969e35

> Pipeline YAML should allow merging decimal with different precisions
> --------------------------------------------------------------------
>
>                 Key: FLINK-36565
>                 URL: https://issues.apache.org/jira/browse/FLINK-36565
>             Project: Flink
>          Issue Type: Improvement
>          Components: Flink CDC
>    Affects Versions: cdc-3.1.1
>            Reporter: yux
>            Assignee: yux
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.3.0, cdc-3.2.1
>
>
> Currently, it's not possible to merge two Decimal-typed fields with different 
> precision or scaling. Since DECIMAL(p1, s1) and DECIMAL(p2, s2) could be 
> converted to DECIMAL(MAX(p1 - s1, p2 - s2) + MAX(s1, s2), MAX(s1, s2) without 
> any loss, this converting path seems reasonable and worth being added.



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

Reply via email to