Skip to content
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

Skip child replace for new query compilation stage if the child has been updated already #2517

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfc-gh-yzou
Copy link
Collaborator

In replace_child, if the child of a parent has already been updated, the old child won't exist anymore, and an error could raise with the current code. However, if the child has already been updated with the new child, we should simply skip the update.

For this case, the original plan have 4 resolved snowflake plan node that is pointing to the same source plan, therefore updating the child of one parent automatically updates the other parents.

@sfc-gh-yzou sfc-gh-yzou requested review from a team as code owners October 26, 2024 02:00
@sfc-gh-yzou sfc-gh-yzou added the NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants