TY - GEN
T1 - The power of SQL lambda functions
AU - Schüle, Maximilian E.
AU - Vorona, Dimitri
AU - Passing, Linnea
AU - Lang, Harald
AU - Kemper, Alfons
AU - Günnemann, Stephan
AU - Neumann, Thomas
N1 - Publisher Copyright:
© 2019 Copyright held by the owner/author(s).
PY - 2019
Y1 - 2019
N2 - This work demonstrates a wide range of applications that use lambda expressions in SQL. Such injected code snippets form a useful technique required by data mining algorithms to overcome the inflexibility of the SQL language, as the language is limited to predefined aggregations only. Following the’move computation to the data’ paradigm, we extend SQL lambda functions—also known from common programming languages—for machine-learning tasks. As machine-learning relies mostly on gradient descent and tensor data types, we use lambda expressions for clustering and graph-mining algorithms as well as to formulate loss functions and label data. To underline the flexibility gained in SQL, this work demonstrates a main memory database system with integrated lambda expressions accessible through table functions in SQL. By reusing SQL and performing data mining and machine-learning tasks faster than can dedicated tools, this demonstration aims at convincing data scientists of the capabilities of database systems for computational tasks.
AB - This work demonstrates a wide range of applications that use lambda expressions in SQL. Such injected code snippets form a useful technique required by data mining algorithms to overcome the inflexibility of the SQL language, as the language is limited to predefined aggregations only. Following the’move computation to the data’ paradigm, we extend SQL lambda functions—also known from common programming languages—for machine-learning tasks. As machine-learning relies mostly on gradient descent and tensor data types, we use lambda expressions for clustering and graph-mining algorithms as well as to formulate loss functions and label data. To underline the flexibility gained in SQL, this work demonstrates a main memory database system with integrated lambda expressions accessible through table functions in SQL. By reusing SQL and performing data mining and machine-learning tasks faster than can dedicated tools, this demonstration aims at convincing data scientists of the capabilities of database systems for computational tasks.
UR - http://www.scopus.com/inward/record.url?scp=85064927312&partnerID=8YFLogxK
U2 - 10.5441/002/edbt.2019.49
DO - 10.5441/002/edbt.2019.49
M3 - Conference contribution
AN - SCOPUS:85064927312
T3 - Advances in Database Technology - EDBT
SP - 534
EP - 537
BT - Advances in Database Technology - EDBT 2019
A2 - Galhardas, Helena
A2 - Binnig, Carsten
A2 - Kaoudi, Zoi
A2 - Reinwald, Berthold
A2 - Fundulaki, Irini
A2 - Herschel, Melanie
PB - OpenProceedings.org
T2 - 22nd International Conference on Extending Database Technology, EDBT 2019
Y2 - 26 March 2019 through 29 March 2019
ER -