[
https://issues.apache.org/jira/browse/FLINK-35056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837232#comment-17837232
]
Thorne commented on FLINK-35056:
--------------------------------
Hi,can u give me a example and let me to recurrent it。
> when initial sqlserver table that's primary key is datetime type, it
> org.apache.flink.table.api.ValidationException: Timestamp precision must be
> between 0 and 9 (both inclusive)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-35056
> URL: https://issues.apache.org/jira/browse/FLINK-35056
> Project: Flink
> Issue Type: Bug
> Components: Flink CDC
> Affects Versions: 2.0.0
> Reporter: fengfengzai
> Priority: Critical
> Attachments: sqlserver-bug.png
>
>
> when initial sqlserver table that's primary key is datetime type.
> it error:
> org.apache.flink.table.api.ValidationException: Timestamp precision must be
> between 0 and 9 (both inclusive)
>
> i find datetime's length is 23. it exceed 9. so it errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)