[
https://issues.apache.org/jira/browse/FLINK-36565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonard Xu reassigned FLINK-36565:
----------------------------------
Assignee: yux
> 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
> Reporter: yux
> Assignee: yux
> Priority: Major
> Labels: pull-request-available
>
> 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)