Projects per year
Abstract / Description of output
Recent programming languages research has developed language-integrated query, a convenient technique to seamlessly embed a domain-specific database query language into a general-purpose host programming language; such queries are then automatically converted to the language understood by the target DBMS (e.g. SQL) while at the same time taking advantage of the host language’s type-checker to prevent failure at run-time. The embedded query language is often equipped with a rewrite system which normalizes queries to a form that can be directly translated to the DBMS query language. However, the theoretical foundations of such rewrite systems have not been explored to their full extent, particularly when constructs like grouping and aggregation, which are ubiquitous in real-world database queries, are involved. In this work, we propose an extension of the nested relational calculus with grouping and aggregation which can provide such foundations. Along with strong normalization and translatability to SQL we show that, remarkably, this extension can also blend with shredding techniques proposed in the literature to allow queries with a nested relational type to be executed on the DBMS.
Original language | English |
---|---|
Title of host publication | PPDP'23: Proceedings of the 25th International Symposium on Principles and Practice of Declarative Programming |
Publisher | ACM Association for Computing Machinery |
Pages | 1-12 |
Number of pages | 12 |
ISBN (Print) | 9781450397032 |
DOIs | |
Publication status | Published - 22 Oct 2023 |
Event | 25th International Symposium on Principles and Practice of Declarative Programming - Lisbon, Portugal Duration: 22 Oct 2023 → 23 Oct 2023 Conference number: 25 https://ppdp2023.webs.upv.es/ |
Publication series
Name | ACM International Conference Proceedings Series |
---|---|
Publisher | Association for Computing Machinery (ACM) |
Conference
Conference | 25th International Symposium on Principles and Practice of Declarative Programming |
---|---|
Abbreviated title | PPDP 2023 |
Country/Territory | Portugal |
City | Lisbon |
Period | 22/10/23 → 23/10/23 |
Internet address |
Keywords / Materials (for Non-textual outputs)
- language-integrated query
- finite maps
- multisets
- nested relations
Fingerprint
Dive into the research topics of 'Comprehending queries over finite maps'. Together they form a unique fingerprint.-
-
Skye-A programming language bridging theory and practice for scientific data curation
1/09/16 → 28/02/23
Project: Research