[ 
https://issues.apache.org/jira/browse/FLINK-36864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruan Hang updated FLINK-36864:
------------------------------
    Fix Version/s: cdc-3.3.0

> YAML Pipeline could not write number literals that exceeds Int32 range
> ----------------------------------------------------------------------
>
>                 Key: FLINK-36864
>                 URL: https://issues.apache.org/jira/browse/FLINK-36864
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>    Affects Versions: cdc-3.2.1
>            Reporter: yux
>            Assignee: yux
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.3.0
>
>
> Currently, such CDC YAML expression will fail:
>  
> {code:java}
> transform:
>   - projection: 2147483649 AS big_number{code}
> with the following exception:
>  
> {code:java}
> Caused by: org.codehaus.commons.compiler.CompileException: Line 1, Column 87: 
> Invalid integer literal "2147483649"{code}
> While Flink SQL could correctly handle integer literals up to Long.MAX_VALUE.
> This should be fixed or one must write such thing just to get a Long literal.
> {code:java}
> CAST('2147483649' AS BIGINT){code}



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

Reply via email to