IMO, the behaviors depends on how you convert your string data from extern 
system to Flink's intern data or, conversely. 

I think it's more like a hint to tell how to convert the string data between 
extern system including source and sink. 


Best regards, 
Yuxia 


发件人: "Krzysztof Chmielewski" <krzysiek.chmielew...@gmail.com> 
收件人: "User" <user@flink.apache.org> 
发送时间: 星期三, 2022年 5 月 25日 下午 5:29:10 
主题: length value for some classes extending LogicalType. 

Hi, 
some classes extending LogicalType.java such as VarCharType, BinaryType, 
CharType and few others have an optional argument "length". If not specified, 
length is set to default value which is 1. 

I would like to ask, what are the implications of that? What can happen if I 
use the default length value 1 but the actual length of the data will be bigger 
than 1? 

For example: 
RowType.of("col1", new CharType()) <- this will use default length value 1. 

Regards, 
Krzysztof Chmielewski 

Reply via email to