Mao Jiayi created FLINK-40360:
---------------------------------
Summary: Fix DECIMAL precision truncation when arithmetic result
precision exceeds 19 digits
Key: FLINK-40360
URL: https://issues.apache.org/jira/browse/FLINK-40360
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Reporter: Mao Jiayi
Flink CDC supports DECIMAL types with precision up to 38. However, DECIMAL
types inferred by pipeline transform expressions are currently limited to a
maximum precision of 19.
When the required precision of an expression result exceeds 19, the inferred
result type is truncated. This reduces the number of integer digits that the
result type can represent and may cause otherwise valid DECIMAL values to
overflow and become NULL during transform processing.
h3. Expected Behavior
Pipeline transform expressions should correctly infer and process DECIMAL
results within the precision range supported by Flink CDC, without silently
truncating the result precision or losing valid values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)