[
https://issues.apache.org/jira/browse/FLINK-35056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875604#comment-17875604
]
Sergei Morozov commented on FLINK-35056:
----------------------------------------
I submitted a pull request with a test that reproduces the issue on {{master}}
and a fix.
> 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
> Labels: pull-request-available
> 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)