question

narayana.jayanthi_191238 avatar image
narayana.jayanthi_191238 asked Erick Ramirez answered

Is there a working example for using Databricks notebook to connect to Astra DB?

I am trying to read datastax astra db table from databricks pyspark notebook.. Can you please share me some guidelines as to how to do this? Any website reference that I can start with?

Thanks

Narayana

astra dbdatabricks
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

I've recently written an article on How to connect to Astra DB from Databricks.

In that article, I've provided step-by-step instructions for configuring Databricks to connect to Astra DB. Then to test the connectivity, I've provided a full working example code that you can run from a notebook in your Databricks account. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.