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

arrow-flight-sql支持PreparedStatement问题

Asked Aug 28, 2024 Modified Jan 1, 0001
Viewed 65
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 当做ETL使用, 大批量数据提示内存不足
1 answers
集群某个用户的99th Latency过高,但是没找到该用户的查询
streamload 列转换
1 answers
Resource Group 和 Workload Group 能同开启吗?
1 answers
小批量写入一个be不好用导致整个集群不好用
1 answers
执行 ANALYZE TABLE 收集表统计信息报错, [HY000][1105] errCode = 2, detailMessage = Stats table not available, please make sure your cluster status is normal
1 answers

Terms of service Privacy policy

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