RepositoryPython
slidoapp

slidoapp/dbt-superset-lineage

Make dbt docs and Apache Superset talk to one another

155sao
24fork
0issue
2lượt xem

🔗 Nối dbt docs với Apache Superset trong một vòng truyền đạt dữ liệu

Công cụ CLI giúp Superset và dbt giao tiếp trực tiếp: đưa dashboard Superset vào dbt docs dưới dạng exposures, đồng thời đẩy mô tả model và cột từ dbt sang Superset.

dbt-superset-lineage là một công cụ dòng lệnh (CLI) bằng Python, phát triển bởi nhóm Slido, giúp giải quyết hai vấn đề phổ biến khi dùng dbt kèm Superset: biết được dashboard nào phụ thuộc vào model nào, và cách mô tả tốt trên dbt lan tỏa ra Superset. Dự án đã được trình bày tại hội thảo Coalesce 2021 của dbt Labs.

✨ Điểm nổi bật

  • pull-dashboards: Kéo danh sách dashboard từ Superset về dưới dạng exposures trong dbt docs, liên kết tới các model và nguồn dữ liệu liên quan.
  • push-descriptions: Đẩy mô tả model và cột từ dbt docs sang Superset để hiển thị khi người dùng tạo biểu đồ.
  • Tích hợp Superset API: Chỉ cần cung cấp token truy cập qua biến môi trường hoặc tham số dòng lệnh.
  • Hỗ trợ multi-database: Có thể chỉ định database nếu có tên bảng trùng lặp giữa các nguồn.
  • Tương thích phiên bản ổn định: Được kiểm thử trên dbt v1.4.5 và Apache Superset v2.0.1.
  • Cài đặt đơn giản: Cài qua pip và sử dụng ngay sau khi chạy dbt compile.

💡 Vì sao đáng chú ý

Thay vì phải chuyển đổi giữa dbt docs và giao diện Superset để kiểm tra sự phụ thuộc, công cụ này tự động đưa toàn bộ mối quan hệ vào dbt docs dưới dạng exposures — giúp nhận biết nhanh dashboard nào sẽ gãy nếu một model bị xóa hoặc thay đổi. Đồng thời, việc đồng bộ mô tả giúp người dùng Superset dễ dàng lựa chọn cột đúng khi tạo biểu đồ mà không cần quay lại tài liệu.


#dbt #Superset #DataLineage #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
reata/sqllineage

SQL Lineage Analysis Tool powered by Python

1.7k
Nov 28, 2026
RepositoryPython
elementary-data/dbt-data-reliability

This dbt package captures metadata, artifacts, and test results so you can detect anomalies, monitor data quality, and build metadata tables. It powers Elementary OSS and feeds the wider context layer used by Elementary Cloud’s full Data & AI Control Plane.

530
Nov 27, 2026
RepositoryPython
tuva-health/tuva-core

Main repo including core data model, data marts, data quality tests, and terminology sets.

333
Nov 11, 2026
RepositoryPython
cnstlungu/portable-data-stack-dagster

A portable Datamart and Business Intelligence suite built with Docker, Dagster, dbt, DuckDB and Superset

266
Oct 26, 2026
RepositoryPython
Fszta/parrant

A change-impact decision engine for dbt. Column-level lineage plus a policy-gated verdict on every PR — what breaks, what to rebuild — computed offline from your dbt artifacts. No warehouse, no dbt run. Powered by SQLGlot.

82
Oct 28, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.4k
Dec 2, 2026
RepositoryRust
sharkdp/bat

A cat(1) clone with wings.

61.6k
Nov 29, 2026
RepositoryRust
sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

45.4k
Dec 2, 2026
RepositoryRust
sharkdp/hyperfine

A command-line benchmarking tool

29.4k
Nov 1, 2026