-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(flightsql-jdbc): Add support for Arrow Flight JDBC driver (#8829) #9789
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
base: master
Are you sure you want to change the base?
feat(flightsql-jdbc): Add support for Arrow Flight JDBC driver (#8829) #9789
Conversation
|
Sorry for the level of testing, as I said I've followed That said, I successfully managed to build a dev docker image and connect to a spice.ai sql engine supporting arrow flight sql jdbc driver using The driver download works as shown in this screenshot showing the dev container internal file system:
However I cannot do more than connecting to the database when clicking on the "Data model" folder.
I might have missed something or perhaps a dev container is not full featured ? When I try to see the generated SQL in the playground I see
|
3183c70 to
2db653b
Compare
|
Hi @vincentditlevinz 👋 Thanks! I'd suggest that you can you |
2db653b to
2f90fc9
Compare
|
High @igorlukanin I managed to add some tests with testcontainer that have worked on my laptop 😄 They test When I compared all occurrences of
The last item probably explains why my new driver doesn't work well in the playground, because I must use a "dev" docker image for the moment. Please, let me know what you expect me to do to make this PR valid according to your development standards. |
2f90fc9 to
2c36eb1
Compare
| - 'packages/cubejs-bigquery-driver/**' | ||
| - 'packages/cubejs-clickhouse-driver/**' | ||
| - 'packages/cubejs-databricks-jdbc-driver/**' | ||
| - 'packages/cubejs-flightsql-jdbc-driver/**' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I should remove these lines, they seem to be related to cubejs-testing-driver.
|
What bothers me here is that different databases require different SQL dialects to be used with them. As you can see in the code base, each (many) database requires not only a driver but also a SQL dialect implementation. I wonder how this is going to be solved with this one. I'll kindly ask @ovr or @KSDaemon provide their ideas here. |
|
Hi @igorlukanin , Thanks for your interest in this PR. I don't know exactly. According to spice.ai faq, the database used for testing, they are based on Apache data fusion and then support Postgres dialect. Dremio support ANSI SQL standard. Apache Doris also supports the Postgres dialect among others. Finally, according to Influxdb: InfluxDB supports the PostgresQL wire protocol dialect of SQL That's the 4 databases supporting Arrow Flight SQL Jdbc driver I am aware of. Cube.js seems to be supporting Postgres dialect too does it ? In this case we might not need to implement any specific dialect. |
|
Hello, There has been no update for this PR for a long time. I need to know if you are interested or not by this addition to decide whether it is worth it or not for me to spend more time with cube.js technology exploration (for us, Apache Arrow based technology compatibility is mandatory) Sincerely |
2c36eb1 to
c71a0d5
Compare
|
Hey @vincentditlevinz 👋 Sorry for the radio silence. I would suggest publishing this as an npm package (see 1 here: https://github.com/cube-js/cube/blob/master/CONTRIBUTING.md#contributing-database-drivers) and linking it from docs. We'll be able to see if it picks up and then decide whether we need to include it into the main distribution. Also, thanks for all your hard work on this one! |
1b79bfc to
1865a3b
Compare
1865a3b to
f0263ff
Compare
6fa4605 to
bf3d26e
Compare
a5da947 to
e3916bc
Compare
e3916bc to
85b58e0
Compare
85b58e0 to
72fb8eb
Compare



Check List
Issue Reference this PR resolves
[#8829]