-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [connector-doris] 包含%的数据导入报错 #4242
Comments
我也是遇到类似的报错 请问你是怎么定位出是里面含有%导致的?怎么看具体报错信息? |
@CalvinKirs Hi, clavin. any help info for this? Is SeaTunnel problem or Doris problem? |
一批数据一批数据的试,最后定位到报错数据,对字段的值看着可疑的,同步试验出来的 |
@CalvinKirs @zy-kkk PTAL |
Which version is doris? |
doris是1.2.1版本 |
这个也是我提的,seatunnel版本2.1.3没有这个问题(写入的doris集群为同一个) |
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
@feng-kui hi, is it still not solved? Is that still not work with the latest version of seatunnel? |
@CalvinKirs @zy-kkk @TyrantLucifer 这个问题我们发现是因为 doris FE 中spring mvc 对 application/x-www-form-urlencoded 类型解码造成的。 我们调整了发送的头信息,改成非 application/x-www-form-urlencoded类型就可以了。 我们查看了,doris的文档和 flink doris connector,没有地方需要传递content-type,但是spring mvc 校验出现问题。不传递content-type 默认就会使 application/x-www-form-urlencoded 则会引发问题。 curl -XPUT --location-trusted -u root: -H "label:test3" -H "timeout:10000" -H "format: csv" -H "columns: id,name" -H "column_separator:," -H "Content-type: application/json" -H "Expect: 100-continue" http://172.18.116.60:8030/api/test/table20/_stream_load -d '1,a
2,b
3,c
4,%' |
|
Search before asking
What happened
varchar类型字段的值中,包含%,stream load导入报错(但老版本2.1.3没有问题),如下:
SeaTunnel Version
2.3.0
SeaTunnel Config
Error Exception
The text was updated successfully, but these errors were encountered: