-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Epic] Stabilize WITH MUTUALLY RECURSIVE
#17012
Comments
An addition to the specification: |
The original design doc lists this as a non-goal:
@frankmcsherry IIUC you want to make the above statement a goal for this epic. Can you confirm? |
I'm pretty sure we will be able to do this, and if that turns out to be correct I think there is a simplicity win in terms of not having to explain / check / test the corner cases. It was not obvious that we would be able to do this at the time the doc was written, and ruling it out seemed best at that time. |
I'm upgrading this to "we have merged the code that does this". |
Thanks. This is already reflected as done in the design doc. |
Closing the epic. I'll try to do a final pass on the design doc to reflect more precisely what we managed to do and what is left as future work. |
Product Outcome
Materialize currently supports recursive queries, although it's guarded behind the unsafe flag. We should work towards stabilizing the feature so that we can test it, potentially with customer involvement.
This is a continuation of #11176.
Specification
Stabilize the support for recursive queries. This specifically means:
Design
Design doc (original PR: #17820).
Documentation
Recursive CTEs
Required Issues (Must Haves)
recursion_safe
#17914recursion_safe
#18123recursion_safe
#17915recursion_safe
pipeline #17916NormalizeLets
and rendering #18949Blockers
Discretionary Issues (Nice To Haves)
mz_transform
specs #18160Follow-up Issues
LetRec
#18553 (which will improve #18170 and other transforms)EXPLAIN WITH(linear_chains)
is broken for WMR #19012Success metric
We measure success in the number of queries that use
WITH MUTUALLY RECURSIVE
:The text was updated successfully, but these errors were encountered: