SQLFlow: A Bridge between SQL and Machine Learning
Not on the map. Why?
Abstract (arXiv)
Industrial AI systems are mostly end-to-end machine learning (ML) workflows. A typical recommendation or business intelligence system includes many online micro-services and offline jobs. We describe SQLFlow for developing such workflows efficiently in SQL. SQL enables developers to write short programs focusing on the purpose (what) and ignoring the procedure (how). Previous database systems extended their SQL dialect to support ML. SQLFlow (https://sqlflow.org/sqlflow ) takes another strategy to work as a bridge over various database systems, including MySQL, Apache Hive, and Alibaba MaxCompute, and ML engines like TensorFlow, XGBoost, and scikit-learn. We extended SQL syntax carefully to make the extension working with various SQL dialects. We implement the extension by inventing a collaborative parsing algorithm. SQLFlow is efficient and expressive to a wide variety of ML techniques -- supervised and unsupervised learning; deep networks and tree models; visual model explanation in addition to training and prediction; data processing and feature extraction in addition to ML. SQLFlow compiles a SQL program into a Kubernetes-native workflow for fault-tolerable execution and on-cloud deployment. Current industrial users include Ant Financial, DiDi, and Alibaba Group.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 1; 2024: 1.
4 papers.
- 2021Declarative Machine Learning Systemscited by 4
- 2023NeuroQL: A Neuro-Symbolic Language and Dataset for Inter-Subjective Reasoningcited by 1
- 2021Efficient and Accurate In-Database Machine Learning with SQL Code Generation in Pythoncited by 0
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloudcited by 0
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloud12 Mar 2024
- 2023NeuroQL: A Neuro-Symbolic Language and Dataset for Inter-Subjective Reasoning13 Mar 2023
- 2021Declarative Machine Learning Systems16 Jul 2021
- 2021Efficient and Accurate In-Database Machine Learning with SQL Code Generation in Python7 Apr 2021