Repository navigation
Warehouse Databricks
The
databricksreader crawls every Unity Catalog catalog the principal can see fromsystem.information_schema(three-level names: catalog.schema.table). Queries run on a SQL warehouse and are metadata-only; Unity Catalog exposes no row counts or sizes, so those stay unknown. Built from documented view shapes and tested against recorded fixtures; not yet validated against a live workspace.
Reader: databricks. Three-level namespace: catalog.schema.table. Extra: pip install "schemaguru[databricks]" (databricks-sql-connector).
system.information_schema.{catalogs, schemata, tables, columns, table_constraints, key_column_usage, referential_constraints}. One system.information_schema serves every catalog the principal can see, so one connection reads all of them. The system catalog and information_schema schemas are skipped.
USE CATALOG, USE SCHEMA and SELECT or BROWSE on the objects to describe (Unity Catalog filters information_schema to what the principal may see); SELECT on system.information_schema (granted to all account users by default). A running SQL warehouse (or serverless) executes the queries.
Each query runs on the SQL warehouse (DBUs); they are metadata-only and short. No bytes are billed.
-
information_schemaexposes no row counts or sizes;row_countandbytesstay unknown (DESCRIBE DETAILper table would be needed). - Table types:
MANAGED,VIEW,MATERIALIZED_VIEW,STREAMING_TABLEmap to table/view kinds;EXTERNALandFOREIGNbecomeexternal. - Column native types use
full_data_type(decimal(10,2),map<string,string>);ordinal_positionis reported as stored (Unity Catalog counts from 0). - PK/FK constraints are informational (
enforced=False); foreign-key targets are resolved throughreferential_constraintsand the key'sposition_in_unique_constraint. - Names are lower-case as stored; flexible names (hyphens) are kept verbatim.
- Live test:
SCHEMAGURU_LIVE_DATABRICKS=1withSCHEMAGURU_DBX_{HOST,HTTP_PATH,TOKEN,CATALOG,SCHEMA}.
SchemaGuru is open source under the MIT License, Copyright (c) 2026 Rupak Chakraborty · Repository · Issues · This wiki is generated from docs/wiki/; edit it there, not here.
Start here
Components
- Catalog and Crawl
- Store
- Measurement
- Sampling
- Join Graph
- Path Search and Hub Guard
- Waypoint Rules
- Drafting
- PII and Sampling Policy
- Overlays
- Scoping
- Rendering
- Refresh and Drift
- Feedback and Guard
- Server
- Agent Integration
Using it
Warehouses
- BigQuery
- Snowflake
- Redshift
- Databricks
- PostgreSQL
- DuckDB
- ClickHouse
- SQL Server / Synapse
- Oracle
- Trino
- MySQL / MariaDB
Extending
- CatalogReader
- Store
- Retriever and Embedder
- TokenCounter
- LLMProvider
- PII Detector
- FailureClassifier
- FactKind
- Profile and Format
- ChangeClassifier
- JoinCandidateSource (planned)
- Authenticator
Project