Skip to content

Conversation

@nemanjapetr-db
Copy link
Contributor

@nemanjapetr-db nemanjapetr-db commented Dec 11, 2024

... of changes in CTESubstitution.scala that are self-contained and that make CTE substitions and resolutions aware of the recursion. We also make minimal, no-op changes in basicLogicalOperators.scala.

What changes were proposed in this pull request?

Some initial no-op changes required to implement a recursive CTE.
https://docs.google.com/document/d/1qcEJxqoXcr5cSt6HgIQjWQSqhfkSaVYkoDHsg5oxXp4/edit

Why are the changes needed?

Support for the recursive CTE.

Does this PR introduce any user-facing change?

No. RECURSIVE keyword is not introduced in this PR.

How was this patch tested?

This commit trivially breaks a number of tests (~17) and requires a large number of trivial test changes due to new parameters introduced in ctors of CTERelationDef and CTERelationRef. Hence, it should be merged only after another PR that introduces ctor changes and fixes the corresponding tests.

Was this patch authored or co-authored using generative AI tooling?

No

… to add recursive CTEs. With an overarching goal to break the old PR into manageable segments, this is an initial commit that makes a number of changes in CTESubstitution.scala that are self-contained and that make CTE substitions and resolutions aware of the recursion. We also make minimal, no-op changes in basicLogicalOperators.scala.
@github-actions github-actions bot added the SQL label Dec 11, 2024
@nemanjapetr-db nemanjapetr-db changed the title [WIP][SPARK-24497][SQL] An initial, no-op commit that makes a number of changes in CTESubstitution.scala that are self-contained and that make CTE substitions and resolutions aware of the recursion. We also make minimal, no-op changes in basicLogicalOperators.scala. [WIP][SPARK-24497][SQL] An initial, no-op commit that makes a number of changes in ... Dec 11, 2024
@nemanjapetr-db nemanjapetr-db changed the title [WIP][SPARK-24497][SQL] An initial, no-op commit that makes a number of changes in ... [WIP][SPARK-24497][SQL] An initial, no-op commit that makes a number... Dec 11, 2024
@nemanjapetr-db nemanjapetr-db deleted the nemanjapetr-db/rcte1 branch January 3, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant