delta_engine.databricks¶
Public Databricks entry points.
The implementation lives in delta_engine.adapters.databricks. This module
keeps the user-facing Databricks import path short while preserving lazy
backend imports (PySpark, databricks-sql-connector) for code that only
declares schemas or inspects result types.
Functions¶
|
Create an engine that syncs through an active Spark session. |
|
Create an engine that syncs through a Databricks SQL warehouse connection. |
|
Install the package's colored logging handler. |
Module Contents¶
- build_spark_engine(spark: pyspark.sql.SparkSession) delta_engine.application.engine.Engine¶
Create an engine that syncs through an active Spark session.
- build_sql_engine(connection: databricks.sql.client.Connection) delta_engine.application.engine.Engine¶
Create an engine that syncs through a Databricks SQL warehouse connection.
PySpark-free: pass a connection from
databricks.sql.connect(...)(thedelta-engine[sql]extra) and syncs run from any plain Python environment. Unity Catalog only.
- configure_logging(level: int = logging.INFO, stream: TextIO | None = None) None¶
Install the package’s colored logging handler.