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

ASF GitHub Bot updated FLINK-39682:
-----------------------------------
    Labels: pull-request-available  (was: )

> Unable to invoke TO_DATE with TIMESTAMP types
> ---------------------------------------------
>
>                 Key: FLINK-39682
>                 URL: https://issues.apache.org/jira/browse/FLINK-39682
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>    Affects Versions: cdc-3.6.0
>            Reporter: Xiqian Yu
>            Assignee: Xiqian Yu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cdc-3.6.1
>
>
> This behavior is silently changed after FLINK-38888.
> Previously, `TO_DATE(timestamp)` is equivalent to `TO_DATE(CAST(timestamp AS 
> VARCHAR))` or `TO_DATE('2026-01-01 21:48:25')`, results in `2026-01-01`.
> However, after rewriting `TO_DATE` strictly checks if input matches 
> `yyyy-MM-dd` format, and returns `null` for malformed ones.



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

Reply via email to