Self-Configuring ETL Pipelines Using AI-Generated DAG Structures
DOI:
https://doi.org/10.63345/ijerbds.v3.i1.301Keywords:
ETL, data pipelines, DAG generation, Apache Airflow, schema drift, data contracts, large language models, data integrationAbstract
ETL pipelines are manually created, brittle in case of schema evolution of sources, and require significant effort on the part of data engineers. In this study, we propose a system that automatically configures ETL pipelines: the profiler infers schema and statistics from sources, the semantic mapper finds correspondences of the schema to a target model, the AI planner generates the pipeline as a directed acyclic graph (DAG) in Apache Airflow format, and the sandbox runs the DAG with data contracts in order to validate its correctness before deployment. Among 90 integration scenarios at three complexity levels, our system achieved the correct output in 77 cases (85.6%), compared with 51 (56.7%) for the template generator and 49 (54.4%) for the zero-shot language model (p < 0.001). The average time to deploy a pipeline decreased from 187 minutes in manually built pipelines to 11.8 minutes. In case of introducing 60 schema-drift events, 47 of them (78.3%) were handled correctly, compared with 12 (20.0%) for the template generator (p < 0.001), and the mean recovery time decreased from 142 to 6.4 minutes. The combination of profiling, validation, and repair rather than just generation made it possible to achieve a reliable self-configuration.
References
1. Kleppmann, M. (2017). Designing data-intensive applications. O'Reilly Media.
2. Narayan, A., Chami, I., Orr, L., Arora, S., & Ré, C. (2022). Can foundation models wrangle your data? Proceedings of the VLDB Endowment, 16(4), 738–746. DOI: https://doi.org/10.14778/3574245.3574258
3. Polyzotis, N., Roy, S., Whang, S. E., & Zinkevich, M. (2018). Data lifecycle challenges in production machine learning: A survey. ACM SIGMOD Record, 47(2), 17–28. DOI: https://doi.org/10.1145/3299887.3299891
4. Rahm, E., & Bernstein, P. A. (2001). A survey of approaches to automatic schema matching. The VLDB Journal, 10(4), 334–350. DOI: https://doi.org/10.1007/s007780100057
5. Rahm, E., & Do, H. H. (2000). Data cleaning: Problems and current approaches. IEEE Data Engineering Bulletin, 23(4), 3–13.
6. Schelter, S., Lange, D., Schmidt, P., Celikel, M., Biessmann, F., & Grafberger, A. (2018). Automating large-scale data quality verification. Proceedings of the VLDB Endowment, 11(12), 1781–1794. DOI: https://doi.org/10.14778/3229863.3229867
7. Vassiliadis, P. (2009). A survey of extract–transform–load technology. International Journal of Data Warehousing and Mining, 5(3), 1–27. DOI: https://doi.org/10.4018/jdwm.2009070101
8. Yao, S., Zhao, J., Yu, D., et al. (2023). ReAct: Synergizing reasoning and acting in language models. International Conference on Learning Representations.




