Apache Doris 中文技术论坛
Questions Tags Users Badges

arrow-flight-sql支持PreparedStatement问题

Asked Aug 28, 2024 Modified Jan 1, 0001
Viewed 53
2.1

看git说15.0都已经支持PreparedStatement
image.png
https://github.com/apache/arrow/issues/40118

但是现在用17.0的版本还是会报错,求解

edited Jan 1, 0001
leoleo17
asked Aug 28, 2024
1 Answers

目前 jdbc:arrow-flight-sql 和 Java ADBC/JDBCDriver 不支持 prepared statement 传递参数,类似select * from xxx where id=?,将报错 parameter ordinal 1 out of range,这是 Arrow Flight SQL 的一个BUG(GitHub Issue):

  1. https://github.com/apache/arrow/issues/40118
  2. https://github.com/apache/arrow/issues/38585
edited Jan 1, 1970
张彬华7678
answered Aug 29, 2024
Related Questions
doris的be奔溃,版本2.1.7
1 answers
Doris开启了2阶段提交,且事务已经被清理了,如何判断最近一次的ckp对应的事务是否正常提交了
报错: Failed to get scan range, no queryable replica found in tablet
1 answers
求助!x2doris同步经常中断
1 answers
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
为什么相同的内存,执行一样的任务,spark可以执行完,但是doris却报内存不足错误,doris已经调整了单个任务可以使用集权资源的80%
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.