[
https://issues.apache.org/jira/browse/FLINK-36565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruan Hang resolved FLINK-36565.
-------------------------------
Resolution: Fixed
3.2 : 4d0174c79c55f9236edfdef760edc28cc1729d90
> 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)