[ https://issues.apache.org/jira/browse/FLINK-32993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yubin Li updated FLINK-32993: ----------------------------- Summary: Datagen connector handles data types according to the schema definition by default (was: Datagen connector handles data types according to the original definition by default) > Datagen connector handles data types according to the schema definition by > default > ---------------------------------------------------------------------------------- > > 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 > Labels: pull-request-available > 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 instead of defined 50. > we could help users to deal with the following data types in a proper way, > thus allow the datagen connector to automatically generate data that conforms > to the schema definition without manual configuration. > # fixed-length data types (char, binary) , the length should be defined by > original definion, and could not be user-defined length. > # variable-length data types (varchar, varbinary), the length should be > defined by original definition, and could be the user-defined length which > less than original definition. -- This message was sent by Atlassian Jira (v8.20.10#820010)