This website is under development. If you come accross any issues, please report them to Konstantinos Kanellis
(kkanellis@cs.wisc.edu) or Yannis Chronis
(chronis@google.com).
A Fix for the Fixation on Fixpoints
Abstract
We derive new iterative CTE variants from the simple loop-based, operational semantics of SQL:1999’s WITH RECURSIVE. In the absence of fixpoint-based semantics and monotonicity restrictions, these CTE variants (1) can hold onto as well as forget the results of earlier loop iterations or (2) maintain iteration results in a keyed table, enabling a SQL authoring style that mimics imperative algorithms. We exercise the new variants using a series of examples to demonstrate that this fresh look at CTEs has a beneficial impact on the readability and performance of iterative SQL queries.
Citation
@inproceedings{cidr/2023/14-hirn,
author = {Denis Hirn and
Torsten Grust},
title = {A Fix for the Fixation on Fixpoints},
booktitle = {Proceedings of the 13th Conference on Innovative Data Systems Research, CIDR 2023},
publisher = {www.cidrdb.org},
year = {2023},
series = {CIDR 2023},
url = {https://cidr.org/temp-website/papers/2023/p14-hirn.pdf},
location = {Amsterdam, The Netherlands}
}