CREATE TABLE sink
(
`username` varchar
) WITH (
'password' = 'pwd',
'connector' = 'doris-x',
'sink.buffer-flush.interval' = '1000',
'sink.all-replace' = 'false',
'sink.buffer-flush.max-rows' = '100',
'schema' = 'test_base',
'table-name' = 'table1',
'sink.parallelism' = '1',
'feNodes' = 'ip:8030',
'username' = 'user'
);
insert into sink
SELECT username FROM (VALUES ('a1,a2')) AS t (username);
Search before asking
What happened
往doris写入时,如果数据中包含逗号时,插入到表的记录会变成以逗号分割后多条。比如其中一个字段的数据是 "a1,a2", 插入到doris后却是两条记录了。
What you expected to happen
可以正确写入包含逗号的数据到doris
How to reproduce
Anything else
No response
Version
master
Are you willing to submit PR?
Code of Conduct