Flavi
Flavi

Reputation: 353

How to execute Spark code locally with databricks-connect?

Is there a way to execute Spark code locally with databricks-connect?

The reason is that I would like to execute some tests as part of my CI/CD pipeline without the need to have a cluster up and running.

Upvotes: 8

Views: 2667

Answers (1)

simon_dmorias
simon_dmorias

Reputation: 2473

No, databricks-connect requires a running cluster. If you do not use any databricks specific code (like dbutils) you can run spark locally and execute against that - assuming you can still access the data sources you need.

Upvotes: 5

Related Questions