[ https://issues.apache.org/jira/browse/FLINK-36866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904057#comment-17904057 ]
yux commented on FLINK-36866: ----------------------------- [~Leonard] Could you please assign this to me? > Support more CDC YAML numeric casting paths > ------------------------------------------- > > Key: FLINK-36866 > URL: https://issues.apache.org/jira/browse/FLINK-36866 > Project: Flink > Issue Type: Bug > Components: Flink CDC > Affects Versions: cdc-3.2.1 > Reporter: yux > Priority: Major > > Currently, there's literally no way to convert floating points to integers, > since it was implemented like `castToInteger = > Integer.valueOf(_.toString())`, but Java's `Integer#valueOf` doesn't accept > any input string that consists anything more than digits. > That is to say, `CAST("1.0" AS INT)` or `CAST(3.14 AS INT)` will both fail, > making this converting function not usable. -- This message was sent by Atlassian Jira (v8.20.10#820010)