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

arrow-flight-sql支持PreparedStatement问题

Asked Aug 28, 2024 Modified Jan 1, 0001
Viewed 60
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
张彬华7688
answered Aug 29, 2024
Related Questions
Doris BE节点在几乎没有连接的情况下,导致服务器(信创麒麟ArmV8)宕机
1 answers
BE节点断点导致数据不同
1 answers
Doris执行SQL报错Resource temporarily unavailable
1 answers
2.1 版本streamload 导入缓慢问题
1 answers
2.1.10版本 be一天之内重启了3次y
2 answers
用三个routinue load写数据,发现写入时断时续,这个是什么问题要怎么排查,消费组没堵
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 中文技术论坛.