flightsql 可以极大的提示列式数据库的查询性能,目前dremio 已经支持了flight rpc 了,目前稳定版本0.7 发布

官方已经包含了一些代码示例了,还是值得学习的

参考玩法

  • 集成

flightsql apache arrow  sql 扩展_sql



  • 参考流程

flightsql apache arrow  sql 扩展_代码示例_02



说明

dremio 同时提供了不少介绍,同时性能对比图,性能提升是很明显的,预计越来越多的sql 查询引擎可能会支持基于flightsql的处理

参考资料

​https://www.dremio.com/is-time-to-replace-odbc-jdbc/​

​https://arrow.apache.org/blog/2022/02/16/introducing-arrow-flight-sql/​

​https://www.dremio.com/subsurface/arrow-flight-sql-a-universal-jdbc-driver/​

​https://www.dremio.com/subsurface/an-introduction-to-apache-arrow-flight-sql/​