当前位置:网站首页>sqlite sql 异常 near “with“: syntax error
sqlite sql 异常 near “with“: syntax error
2022-07-07 16:15:00 【蒋桐城】
背景
使用logstash将sqlite db文件中的数据同步到elasticsearch中去(实现方案可参考博主另一篇文章:logstash从sqlite中获取内容)。业务取数逻辑比较复杂,需要用到with recursive关键字。
sql语句在本地navicat中已经调试通过,迁移到logstash的配置文件中,执行同步任务时报sql语句异常:
logstash.inputs.jdbc ] Exception when executing JDBC query {:exception=>#<Sequel::DatabaseError: Java::JavaSql::SQLException: near “with”: syntax error>}
解决方案
通过搜索,发现可能是sqlite版本问题。尝试了多个jar包号,解决了问题。
目前博主使用的jar版本为:sqlite-jdbc-3.8.11.2.jar。下载地址为:https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc/3.8.11.2
边栏推荐
- Understanding of 12 methods of enterprise management
- 同消费互联网的较为短暂的产业链不同,产业互联网的产业链是相当漫长的
- Use onedns to perfectly solve the optimization problem of office network
- <代码随想录二刷>链表
- 不能忽略的现货白银短线操作小技巧
- 五种网络IO模型
- ICer知识点杂烩(后附大量题目,持续更新中)
- [principles and technologies of network attack and Defense] Chapter 5: denial of service attack
- 【C语言】字符串函数
- Machine vision (1) - Overview
猜你喜欢

Tips of the week 136: unordered containers

Slider plug-in for swiper left and right switching

Mobile pixel bird game JS play code

Taffydb open source JS database

Tear the Nacos source code by hand (tear the client source code first)

More than 10000 units were offline within ten days of listing, and the strength of Auchan Z6 products was highly praised

使用OneDNS完美解决办公网络优化问题

Deep learning machine learning various data sets summary address
![Easy to understand [linear regression of machine learning]](/img/db/f300457165de7ab12aefac8842330f.jpg)
Easy to understand [linear regression of machine learning]

讨论 | AR 应用落地前,要做好哪些准备?
随机推荐
How to open an account for wealth securities? Is it safe to open a stock account through the link
Import requirements in batches during Yolo training Txt
机器人工程终身学习和工作计划-2022-
Is it safe to open an online futures account now? How many regular futures companies are there in China?
USB通信协议深入理解
Chapter 3 business function development (user access project)
Youth experience and career development
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
Personal best practice demo sharing of enum + validation
[trusted computing] Lesson 13: TPM extended authorization and key management
五种网络IO模型
Year SQL audit platform
socket編程之常用api介紹與socket、select、poll、epoll高並發服務器模型代碼實現
[trusted computing] Lesson 12: TPM authorization and conversation
swiper左右切换滑块插件
Understanding of 12 methods of enterprise management
Use onedns to perfectly solve the optimization problem of office network
Yarn capacity scheduler (ultra detailed interpretation)
[principles and technologies of network attack and Defense] Chapter 5: denial of service attack
2022年理财有哪些产品?哪些适合新手?