rangez commented on issue #32504:
URL: https://github.com/apache/doris/issues/32504#issuecomment-2017446077

   @sirius19 
   
   - Doris版本:
   `doris-2.1.0与doris-1.2.6都无法写入`
   
   - doris的建表sql:
   `
   CREATE TABLE table_0 (
     column_1 int(11) NULL,
     column_2 varchar(32) NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(column_1)
   COMMENT '表'
   DISTRIBUTED BY HASH(column_1) BUCKETS 2
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 3",
   "in_memory" = "false",
   "storage_format" = "V2",
   "disable_auto_compaction" = "false"
   );
   `
   - 直接在doris中执行insert语句不会报错,采用jdbc方式写入也不会报错。
   
   - 原因已经找到了,doriswriter 
使用的是http方式导入,而http方式导入过程中,%是一个特殊字符,doriswriter组件写数据时未进行过转义操作。
   - 如:在浏览器搜索栏输入%,地址栏会将%转义成%25


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to