[ 
https://issues.apache.org/jira/browse/FLINK-32993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760250#comment-17760250
 ] 

Yubin Li commented on FLINK-32993:
----------------------------------

[[email protected]] Char type is different obviously with others, field length 
has been explictly configured in the type definition by users, and others not. 
the current behavior is confusing users.

!image-2023-08-30-13-44-10-106.png!

besides, the following results show that the behavior has made wrong data in 
the downstream tables.

!image-2023-08-30-13-56-12-468.png!

!image-2023-08-30-13-56-28-403.png!

> Datagen connector produce unexpected Char type data
> ---------------------------------------------------
>
>                 Key: FLINK-32993
>                 URL: https://issues.apache.org/jira/browse/FLINK-32993
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Common
>    Affects Versions: 1.19.0
>            Reporter: Yubin Li
>            Priority: Major
>         Attachments: image-2023-08-30-11-47-05-887.png, 
> image-2023-08-30-11-47-43-719.png, image-2023-08-30-11-51-44-498.png, 
> image-2023-08-30-13-44-10-106.png, image-2023-08-30-13-56-12-468.png, 
> image-2023-08-30-13-56-28-403.png
>
>
> create table as follows:
> !image-2023-08-30-11-51-44-498.png!
> results:
> !image-2023-08-30-11-47-05-887.png!
> I have found that Char type data length is 100, which same as String type, it 
> is caused by the two types use the same data generation logic, and we could 
> correct it.



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

Reply via email to