QuestionQ75

VerifiedDevelopment and Ingestion

A data engineer is developing a PySpark ingestion pipeline in a local IDE and needs to run intensive DataFrame transformations on a remote Databricks cluster for scale while locally stepping through business logic. The workspace uses Unity Catalog and a cluster that runs Databricks Runtime 15.4 LTS. The engineer also intends to register UDFs.

What should the data engineer do to prevent runtime issues during development with Databricks Connect?

Explanation

Databricks Connect package versions correspond to compatible Databricks Runtime versions. For Python UDFs, the function is serialized on the client and deserialized on Databricks compute, so the local Python version must match the cluster Python version. Databricks Connect 15.4 for a cluster requires Python 3.11, and Unity Catalog is supported and required by current Databricks Connect usage requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!