Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support API for Arrow Flight SQL #18038

Open
erikerlandson opened this issue Jun 25, 2023 · 13 comments
Open

support API for Arrow Flight SQL #18038

erikerlandson opened this issue Jun 25, 2023 · 13 comments

Comments

@erikerlandson
Copy link

The desired use case is data scientists or other users working with arrow-based data, such as parquet, pandas, polars, etc, and who would like to get that data into or out of Trino, without having to hack through intermediate steps or intermediate ascii sql row representations.

Flight SQL means database servers can implement a standard interface that is designed around Apache Arrow and columnar data from the start. Just like how Arrow provides a standard in-memory format, Flight SQL saves developers from having to design and implement an entirely new wire protocol. As mentioned, Flight already implements features like encryption on the wire and authentication of requests, which databases do not need to re-implement.

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

@erikerlandson
Copy link
Author

cc @caldeirav @MichaelTiemannOSC

@jwilliams-ocient
Copy link

Heavy ➕.

The team at Ocient is also looking to allow Trino to connect to a FlightSQL data source. The connector implementation seems like it would be pretty straightforward if I'm following https://trino.io/docs/current/develop/example-jdbc.html (source) correctly.

@OmarSultan85
Copy link

Heavy ➕.

The team at Ocient is also looking to allow Trino to connect to a FlightSQL data source. The connector implementation seems like it would be pretty straightforward if I'm following https://trino.io/docs/current/develop/example-jdbc.html (source) correctly.

Hey Jwilliams,

Just wondering how far long are you in this track? We are looking to implement a custom connector to allow for querying data from a FlightSQL Data Source. But the documentation in the example jdbc driver doesn't seem to provide enough information on how to actually query data and run the queries.

Were you able to reach anything?

@YuriyGavrilov
Copy link

+1

@YuriyGavrilov
Copy link

just to leave this here: https://www.vldb.org/pvldb/vol10/p1022-muehleisen.pdf

@georgewfisher
Copy link

+1

5 similar comments
@Firstero
Copy link

Firstero commented Apr 15, 2024

+1

@Jmoore1127
Copy link

+1

@alekhed
Copy link

alekhed commented Jun 18, 2024

+1

@shohamyamin
Copy link
Contributor

+1

@alexmarco
Copy link

+1

@findepi
Copy link
Member

findepi commented Nov 25, 2024

I am not aware of anyone working on Arrow Flight SQL APIs for Trino, but Arrow-based data transport should be possible thanks to project Swift (#22271)

@nineinchnick nineinchnick marked this as a duplicate of #24586 Dec 26, 2024
@nineinchnick nineinchnick marked this as not a duplicate of #24586 Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests