DatriseAI-first ETL

TiDB to Databricks SQL Warehouse Integration

AI-first ETL from TiDB into Databricks SQL Warehouse. Governed entities, incremental sync, typed landing tables.

How Datrise loads TiDB into Databricks SQL Warehouse

Datrise syncs TiDB's tables, rows, schemas, indexes, regions, and TiCDC change events into Databricks SQL Warehouse as a Delta Lake table per source entity. Flexible or custom fields land in VARIANT or STRUCT columns, and timestamps such as created, updated, and status changes are typed as TIMESTAMP.

Sync is incremental: Datrise uses a Delta MERGE on stable id, with change history available via time travel, so re-runs update only what changed. Delta partitioning by load date with OPTIMIZE/Z-ORDER on query keys. Datrise writes Unity Catalog–governed Delta tables, so lineage and permissions are managed centrally rather than per-notebook.

Ideal for lakehouse analytics and ML feature tables on Databricks.

Endpoints

TiDB: MySQL-compatible HTAP database with row and column stores.

Databricks SQL Warehouse: Lakehouse SQL endpoints over Delta tables.

How TiDB entities map to Databricks SQL Warehouse

TiDB entityDatabricks SQL Warehouse objectNotes
tablestidb_tablesid PK · custom fields → VARIANT or STRUCT columns
rowstidb_rowsid PK · linked to tidb_tables
schemastidb_schemasid PK · linked to tidb_tables
indexestidb_indexesid PK · linked to tidb_tables

FAQ

How does Datrise handle TiDB's custom fields in Databricks SQL Warehouse?

Flexible values are stored as VARIANT or STRUCT columns, so new fields don't require a migration; strongly-typed fields — dates, numbers, and references — are promoted to native Databricks SQL Warehouse types.

How does the TiDB to Databricks SQL Warehouse sync stay up to date?

It runs incrementally — Datrise uses a Delta MERGE on stable id, with change history available via time travel.

Related pipelines

Early access

Connect TiDB to Databricks SQL Warehouse the easy way

Skip brittle scripts and manual exports. Join the waitlist to get a guided setup, AI-assisted mapping, and reliable incremental sync for this integration.