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支持本地路径备份呢吗?只有NFS没有HDFS和S3服务,值是否支持本地备份
1 answers
DorisManager升级失败回滚元数据恢复问题
java中通过mybatis批量写入数据,写入速度才100/秒,远远达不到官网说的1w/秒
doris能否根据用户做资源的优先级分配
1 answers
doris同时扩缩容
1 answers
OLAP_SCAN_OPERATOR耗时过长

Terms of service Privacy policy

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