question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Databricks support

See original GitHub issue

Is your feature request related to a problem? Please describe. No driver for connecting to Databricks SQL

Describe the solution you’d like I would like to work on this - adding this ticket to check noone else is already doing this or if they are to see if efforts can be combined

Describe alternatives you’ve considered Using DBeaver or other JDBC SQL clients - can’t do this for a particular client as they only want to support VSCode for their data developers.

Additional context

I read the Support new Drivers docs which were helpful, used the template https://github.com/mtxr/vsc-sqltools-driver-template

So far I’ve installed nvm, node.js, run corepack activate to get yarn ( had many issues trying to use npm and I notice this main project is using yarn so going with that) edited the package.json, and trying to build/debug.

I am working through the required hooks in the src/extension.js file, referring to existing drivers as examples but instead using the databricks-sql-nodejs driver.

Some additional features I’d like to have would be using the same dotfile/profile for connection string details that the databricks CLI uses ( btw the postgreSQL driver could also benefit from preferencing the ~/.pg_service.conf file for connection details)

I also see other drivers have issues with too many rows returned and suggest users always append LIMIT 1000 - I would like to always wrap queries with that. And also consider the : for delimiting multiple queries in some way.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
gjsjohnmurraycommented, Sep 6, 2022

How is your driver development going? If / when it is published let us know and we’ll add a link to it in the README and online documentation of the main extension.

0reactions
davehowellcommented, Dec 8, 2022

Hi @KaduUlson I haven’t published it, I think that without the metadata tree working it’s a bit too raw. I am wondering, do you use “Unity Catalog”? Adding support just for Unity Catalog might be an easier short-term way to get it to a publishable state. TBH I’d prefer not to support the legacy hive metastore catalog, mostly because the API for it is painful and slow. Unity Catalog has the ISO/ANSI standard “information schema” that the SQL Tools core already supports. I will revisit it in the next few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support - Databricks
Get answers by the team who created Apache Spark. Submit a support request, review the documentation, and contact training.
Read more >
Help Center - Databricks
Databricks offers a number of plans that provide you with dedicated support and timely service for the Databricks platform and Apache Spark.
Read more >
Support | Databricks on AWS
Requirements for Databricks support; Video tutorials; Log in to the Databricks Help Center; Create a support case; Update or respond to a support...
Read more >
Contact Us - Databricks
Need assistance with training or support? See these additional resources. ... Databricks Inc. 160 Spear Street, 15th Floor San Francisco, CA 94105 1-866-330-0121....
Read more >
Contact Us - Databricks Help
Databricks Inc. 160 Spear Street, 13th Floor San Francisco, CA 94105 1-866-330-0121. Contact Us. © Databricks 2019. All ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found