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
张彬华7703
answered Aug 29, 2024
Related Questions
doris 2.1.8 如何安装在申威的sw64架构上?
Doirs 2.1.10 报错请求的转换无效
有偿解决问题!doris查询性能提升
1 answers
doris版本为2.1.10查询报错,更新前2.1.7版本的查询没有问题,请问该怎么解决
Doris2.1.10使用catalog连接paimon,新增数据看不到,必须手动refresh CATALOG才能看得到
Doris 2.1.6 SQL_BLOCK_RULE 命中后错误信息不正确,显示为未知列错误而非规则拦截提示
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 中文技术论坛.