WG211/M20Kameyama

From WG 2.11
Revision as of 14:57, 11 February 2020 by Edwin (talk | contribs) (Created page with "Cheney et al.'s framework for Language-integrated Query performs program transformation and code generation to obtain a single SQL query from an arbitrary query in the sourc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cheney et al.'s framework for Language-integrated Query performs program transformation and code generation to obtain a single SQL query from an arbitrary query in the source language. An interesting open problem is to extend their framework to grouping and aggregation, which seems impossible to solve if we don't allow subqueries (nested control structures) in SQL. We show that, if we allow subqueries in the target SQL (such as PostgreSQL), the problem can be solved -- nested data structures can be eliminated. (Joint work with Rui Ohkura)