flink sql csv格式字段分隔符问题

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

flink sql csv格式字段分隔符问题

kandy.wang
 设置 'csv.field-delimiter'='\t'
,查询数据的时候,报错:org.apache.flink.table.api.ValidationException: Option 'csv.field-delimiter' must be a string with single character, but was: \t
请问,该怎么搞?
Reply | Threaded
Open this post in threaded view
|

Re: flink sql csv格式字段分隔符问题

Leonard Xu
Hi

试下这个 'csv.line-delimiter' = U&'\\0009'

注意后面不要再加单引号了

祝好
Leonard

> 在 2020年8月7日,16:27,kandy.wang <[hidden email]> 写道:
>
> 设置 'csv.field-delimiter'='\t'
> ,查询数据的时候,报错:org.apache.flink.table.api.ValidationException: Option 'csv.field-delimiter' must be a string with single character, but was: \t
> 请问,该怎么搞?