-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
es的数据库表和es的映射yml文件有误,etlCondition按照官方文档配置出现:ES 数据导入异常 =>java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0) #3149
Comments
跟踪了下代码,发现源码是这么处理的:
顺便说一下,多个参数的解析方式:
总结下配置多个参数的形式
|
感谢 liuxuzxx 解决了我的困惑~, 话说官方文档有这问题还真是头疼 |
感谢 |
请问,带etlCondition的yml文件,放到es7下面,也不会增量同步是吧 |
应该可以正常同步,当时只是看到官方的说明文档有点问题!其实并不太影响功能的使用 |
感谢,解决了卡我好久的问题. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
environment
Issue Description
当按照官放文档配置数据表和es的映射文件yml的时候,在进行全数据同步的时候出现sql解析错误
Steps to reproduce
1.按照官方文档配置过滤的where条件语句
2.执行curl http://127.0.0.1:8081/etl/es7/gsms_short_link_1009.yml -X POST params="2020-10-10 12:25:00"
Expected behaviour
正常执行,数据正常插入
Actual behaviour
If there is an exception, please attach the exception trace:
后台的异常信息
The text was updated successfully, but these errors were encountered: