LINEAGEX: A Column Lineage Extraction System for SQL

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Shi Heng, Miao, Zhengjie, Wang, Jiannan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916765566500864
author Zhang, Shi Heng
Miao, Zhengjie
Wang, Jiannan
author_facet Zhang, Shi Heng
Miao, Zhengjie
Wang, Jiannan
contents As enterprise data grows in size and complexity, column-level data lineage, which records the creation, transformation, and reference of each column in the warehouse, has been the key to effective data governance that assists tasks like data quality monitoring, storage refactoring, and workflow migration. Unfortunately, existing systems introduce overheads by integration with query execution or fail to achieve satisfying accuracy for column lineage. In this paper, we demonstrate LINEAGEX, a lightweight Python library that infers column level lineage from SQL queries and visualizes it through an interactive interface. LINEAGEX achieves high coverage and accuracy for column lineage extraction by intelligently traversing query parse trees and handling ambiguities. The demonstration walks through use cases of building lineage graphs and troubleshooting data quality issues. LINEAGEX is open sourced at https://github.com/sfu-db/lineagex and our video demonstration is at https://youtu.be/5LaBBDDitlw
format Preprint
id arxiv_https___arxiv_org_abs_2505_23133
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LINEAGEX: A Column Lineage Extraction System for SQL
Zhang, Shi Heng
Miao, Zhengjie
Wang, Jiannan
Databases
As enterprise data grows in size and complexity, column-level data lineage, which records the creation, transformation, and reference of each column in the warehouse, has been the key to effective data governance that assists tasks like data quality monitoring, storage refactoring, and workflow migration. Unfortunately, existing systems introduce overheads by integration with query execution or fail to achieve satisfying accuracy for column lineage. In this paper, we demonstrate LINEAGEX, a lightweight Python library that infers column level lineage from SQL queries and visualizes it through an interactive interface. LINEAGEX achieves high coverage and accuracy for column lineage extraction by intelligently traversing query parse trees and handling ambiguities. The demonstration walks through use cases of building lineage graphs and troubleshooting data quality issues. LINEAGEX is open sourced at https://github.com/sfu-db/lineagex and our video demonstration is at https://youtu.be/5LaBBDDitlw
title LINEAGEX: A Column Lineage Extraction System for SQL
topic Databases
url https://arxiv.org/abs/2505.23133