Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data 2015
DOI: 10.1145/2723372.2735359
|View full text |Cite
|
Sign up to set email alerts
|

The Flatter, the Better

Abstract: We demonstrate the insides and outs of a query compiler based on the flattening transformation, a translation technique designed by the programming language community to derive efficient data-parallel implementations from iterative programs. Flattening admits the straightforward formulation of intricate query logic-including deeply nested loops over (possibly ordered) data or the construction of rich data structures. To demonstrate the level of expressiveness that can be achieved, we will bring a compiler fron… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
13
0

Year Published

2016
2016
2021
2021

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 12 publications
(13 citation statements)
references
References 17 publications
0
13
0
Order By: Relevance
“…Language-integrated query and web programming. Our approach is implemented in Links [Cooper et al 2006], but should also be applicable to other functional languages with support for languageintegrated query, such as Ur/Web [Chlipala 2015] and F# [Syme 2006], or the Database-Supported Haskell library [Ulrich and Grust 2015]. Our incremental relational lens definitions could also be implemented inside a database system.…”
Section: Related Workmentioning
confidence: 99%
“…Language-integrated query and web programming. Our approach is implemented in Links [Cooper et al 2006], but should also be applicable to other functional languages with support for languageintegrated query, such as Ur/Web [Chlipala 2015] and F# [Syme 2006], or the Database-Supported Haskell library [Ulrich and Grust 2015]. Our incremental relational lens definitions could also be implemented inside a database system.…”
Section: Related Workmentioning
confidence: 99%
“…Furthermore, generated queries including nested collections are transparent to L 's query normalization algorithm and we can generate efficient queries even when filtering based on provenance information. This applies to other languages with similarly powerful language-integrated query facilities, notably H with the D library [Ulrich and Grust, 2015].…”
Section: "Support For Large Databases"mentioning
confidence: 99%
“…The second approach, which we call comprehension, uses monadic comprehensions or related constructs of the host language, and generates queries from such expressions. The comprehension approach builds on foundations for querying databases using comprehensions developed by Buneman et al [1995], and has been adopted in languages such as F# [Syme, 2006] and L [Cooper et al, 2007] as well as libraries such as Database-Supported H (D ) [Giorgidze et al, 2011;Ulrich and Grust, 2015] and Q Λ [Suzuki et al, 2016].…”
Section: Language-integrated Querymentioning
confidence: 99%
“…Language-integrated query and web programming. Our approach is implemented in Links [Cooper et al 2006], but should also be applicable to other functional languages with support for languageintegrated query, such as Ur/Web [Chlipala 2015] andF# [Syme 2006], or the Database-Supported Haskell library [Ulrich and Grust 2015]. Our incremental relational lens definitions could also be implemented inside a database system.…”
Section: Related Workmentioning
confidence: 99%
“…However, the impedance mismatch between database queries and conventional programming makes even simple programming tasks challenging [Copeland and Maier 1984]. Languages such as C# [Meijer et al 2006], F# [Syme 2006;Cheney et al 2013], Links [Cooper et al 2006], and Ur/Web [Chlipala 2015], and libraries such as Database-Supported Haskell [Ulrich and Grust 2015], have partly overcome this challenge using language-integrated query, in which query expressions are integrated into the host language and type system. However, language support for database programming is still incomplete.…”
Section: Introductionmentioning
confidence: 99%