当前位置:网站首页>SQLite SQL exception near "with": syntax error
SQLite SQL exception near "with": syntax error
2022-07-07 18:23:00 【Jiang Tongcheng】
background
Use logstash take sqlite db The data in the file is synchronized to elasticsearch In the middle ( For the implementation scheme, please refer to another blog article :logstash from sqlite Get content from ). The business data retrieval logic is complex , Need to use with recursive keyword .
sql Statement is local navicat Has been debugged , Migrate to logstash In the configuration file , When executing synchronization tasks sql Statement exception :
logstash.inputs.jdbc ] Exception when executing JDBC query {:exception=>#<Sequel::DatabaseError: Java::JavaSql::SQLException: near “with”: syntax error>}
Solution
adopt Search for , The discovery could be sqlite Version of the problem . Tried multiple jar Package number , Solved the problem .
Currently used by bloggers jar Version is :sqlite-jdbc-3.8.11.2.jar. Download at :https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc/3.8.11.2
边栏推荐
- Personal best practice demo sharing of enum + validation
- SD_DATA_RECEIVE_SHIFT_REGISTER
- 科学家首次观察到“电子漩涡” 有助于设计出更高效的电子产品
- 现货白银分析中的一些要点
- 嵌入式C语言程序调试和宏使用的技巧
- [network attack and defense principle and technology] Chapter 4: network scanning technology
- Wireshark分析抓包数据*.cap
- Native JS verification code
- pip相关命令
- DataSimba推出微信小程序,DataNuza接受全场景考验? | StartDT Hackathon
猜你喜欢
随机推荐
讨论 | AR 应用落地前,要做好哪些准备?
小程序中实现付款功能
How to clean when win11 C disk is full? Win11 method of cleaning C disk
SD_DATA_RECEIVE_SHIFT_REGISTER
保证接口数据安全的10种方案
Tips for this week 134: make_ Unique and private constructors
简单几步教你如何看k线图图解
cf:C. Factorials and Powers of Two【dp + 排序 + 选不选板子 + 选若干个数等于已知和的最少数】
Slider plug-in for swiper left and right switching
讨论| 坦白局,工业 AR 应用为什么难落地?
Use seven methods to enhance all the images in a folder
Five simple ways to troubleshoot with Stace
Chapter 1 Introduction to CRM core business
Tips for this week 140: constants: safety idioms
Tear the Nacos source code by hand (tear the client source code first)
数学分析_笔记_第11章:Fourier级数
Discuss | frankly, why is it difficult to implement industrial AR applications?
Ten thousand words nanny level long article -- offline installation guide for datahub of LinkedIn metadata management platform
Based on pytorch, we use CNN to classify our own data sets
PIP related commands








