Conference paper · 2024 · Open access
LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison
Proceedings of the VLDB Endowment, 18(3), 675–687 · Published 1 November 2024 · DOI 10.14778/3712221.3712234
In brief
“LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison” is a 2024 conference paper by Junhao Ye and 5 co-authors, published in Proceedings of the VLDB Endowment. OpenAlex counts 5 citations as of 30 November 2026. It is open access under a CC BY-NC-ND licence: the full text is free to read at VBN Forskningsportal (Aalborg Universitet).
- Citations
- 5
- Most cited in
- 2026 (3)
- Field-weighted impact
- 0.89
- References
- 45
- Authors
- 6
Abstract
Selecting a good execution plan can significantly improve the query efficiency of Spark SQL. Several machine learning-based techniques have been proposed to select good execution plans for DBMS, but none of them perform well on Spark SQL due to the following issues. (1) Limited compatibility with Spark SQL: these approaches rely on physical operator enumeration, while Spark SQL doesn't support it; (2) Unreliable cost estimation: they often select execution plans with poor performance due to inaccurate cost estimation; (3) Time-consuming plan enumeration: they take much time to generate a large number of candidate execution plans in Spark SQL. To overcome these issues, in this paper, we propose LEAP, the first learned query optimizer tailored for Spark SQL, which can be integrated seamlessly into Spark SQL and solves the compatibility issue. Also, to avoid the unreliable cost value estimation, LEAP selects execution plans with an estimation-free method, which directly performs comparisons between the plans. Furthermore, LEAP employs an efficient progressive plan enumeration algorithm with pruning techniques to find better plans with fewer enumerations. Extensive experiments on three public benchmarks show the effectiveness of LEAP. It reduces the end-to-end execution time of the native optimizer by up to 54% and other learned methods by up to 94%.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Ye, J., Li, J., Chen, L., Mao, Y., Gao, Y., & Li, T. (2024). LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison. Proceedings of the VLDB Endowment, 18(3), 675–687. https://doi.org/10.14778/3712221.3712234
MLA 9
Ye, Junhao, et al. “LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison.” Proceedings of the VLDB Endowment, vol. 18, no. 3, 2024, pp. 675–687. https://doi.org/10.14778/3712221.3712234.
Chicago
Ye, Junhao, Jiahui Li, Lu Chen, Yuren Mao, Yunjun Gao, and Tianyi Li. 2024. “LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison.” Proceedings of the VLDB Endowment 18 (3): 675–687. https://doi.org/10.14778/3712221.3712234.
Harvard
Ye, J. et al. (2024) ‘LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison’, Proceedings of the VLDB Endowment, 18(3), pp. 675–687. doi:10.14778/3712221.3712234.
IEEE
J. Ye, J. Li, L. Chen, Y. Mao, Y. Gao, and T. Li, “LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison,” Proceedings of the VLDB Endowment, vol. 18, no. 3, pp. 675–687, 2024, doi: 10.14778/3712221.3712234.
BibTeX
@inproceedings{ye2024leap,
title = {{LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison}},
author = {Ye, Junhao and Li, Jiahui and Chen, Lu and Mao, Yuren and Gao, Yunjun and Li, Tianyi},
booktitle = {Proceedings of the VLDB Endowment},
year = {2024},
volume = {18},
number = {3},
pages = {675--687},
doi = {10.14778/3712221.3712234},
url = {https://doi.org/10.14778/3712221.3712234}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries
- Spark SQL
- query optimization
- execution plan selection
- cost estimation
- pruning
- Apache Spark
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Ye, J., Li, J., Chen, L., Mao, Y., Gao, Y., & Li, T. (2024). LEAP: A Low-Cost Spark SQL Query Optimizer using Pairwise Comparison. Proceedings of the VLDB Endowment, 18(3), 675–687. https://doi.org/10.14778/3712221.3712234
How many times has this paper been cited?
5 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at VBN Forskningsportal (Aalborg Universitet): sign in and open the PDF from this page.
Who wrote this paper?
Junhao Ye, Jiahui Li, Lu Chen, Yuren Mao, Yunjun Gao, Tianyi Li.
What is the DOI of this paper?
10.14778/3712221.3712234, permanently at https://doi.org/10.14778/3712221.3712234. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.