Skip to content

yggdrasil.databricks.sql.loki

loki

Loki skill for the Databricks SQL service (dbc.sql).

dbc.sql runs SQL on a serverless SQL warehouse and returns a statement result that is Tabular — Arrow under the hood, convertible with to_polars / to_pylist / to_arrow. This is the workhorse for reading and transforming Unity Catalog data.

DatabricksSQLSkill

Bases: DatabricksServiceSkill

Execute a SQL query on a Databricks SQL warehouse → rows (a Tabular result).

available

available(agent: 'Loki') -> bool

True when this skill can run in agent's environment.

Default: available everywhere, unless :attr:requires names a backend that isn't detected. Override for finer checks.