Jonathan Boarman on 11 Jun 2024 19:55:25
Recursive CTEs are incredibly useful for resolving queries against hierarchal data. This is why virtually all major database platforms support recursive CTEs!
There is a starter issue with Apache with some progress made on it, but it seems to be stuck. As a separate matter, docs for TSQL endpoint for Synapse says it does not yet support recursive CTEs there either. So, presumably this needs to be resolved in both DW and LH endpoints, each with separate paths to resolve the gap.
[SPARK-24497] ANSI SQL: Recursive query - ASF JIRA (apache.org)
https://issues.apache.org/jira/browse/SPARK-24497
https://github.com/apache/spark/pull/40744
^^^ Please also make your voice known in both of the above channels!
- Comments (2)
RE: Add Support for Recursive CTEs in Lakehouse, Data Warehouse
This is a must- CTE+Cursor
RE: Add Support for Recursive CTEs in Lakehouse, Data Warehouse
Thank you for posting it in ideas. Agree, this is a must have feature to handle parent-child relationships. Wondering if it is already in roadmap here: https://learn.microsoft.com/en-us/fabric/release-plan/data-warehouse#nested-cteWould be great if someone from Microsoft product team could confirm.