QueryArtisan: Generating Data Manipulation Codes for Ad-hoc Analysis in Data Lakes
Query processing over data lakes is a challenging task, often requiring extensive data pre-processing activities such as data cleaning, transformation, and loading. However, the advent of Large Language Models (LLMs) has illuminated a new pathway to address these complexities by offering a unified approach to understanding the diverse datasets submerged in data lakes. In this paper, we introduce QueryArtisan, a novel LLM-powered analytic tool specifically designed for data lakes. QueryArtisan transcends traditional ETL (Extract, Transform, Load) processes by generating just-intime code for dataset-specific queries. It eliminates the need for an intermediary schema, enabling users to query the data lake directly using natural language. To achieve this, we have developed a suite of heterogeneous operators capable of processing data across various modalities. Additionally, QueryArtisan incorporates a cost model-based query optimization technique, significantly enhancing its code generation capabilities for efficient query resolution. Our extensive experimental evaluations, conducted with real-life datasets, demonstrate that QueryArtisan markedly outperforms existing solutions in terms of effectiveness, efficiency and usability.
Authors
- Gongsheng Yuan (ORCID: https://orcid.org/0000-0002-7992-3179)
- Wenhao Liu
- Chang Yao (ORCID: https://orcid.org/0000-0002-1187-6257)
- Sai Wu (ORCID: https://orcid.org/0000-0002-1866-9197)
- Gang Chen (ORCID: https://orcid.org/0000-0002-7483-0045)
- Tang Xiu
- Shanshan Ying
Institutions
- Data Assurance and Communication Security (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2024-10-01
- DOI
- https://doi.org/10.14778/3705829.3705832
- Citations
- 2
- Primary Topic
- Data Quality and Management
- Type
- article
- Field-Weighted Citation Impact
- 0.98