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

fix: withInfo was overwriting information in some cases #780

Merged
merged 5 commits into from
Aug 5, 2024

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

N/A

Rationale for this change

Calls to withInfo would sometimes overwrite information from previous calls to withInfo

What changes are included in this PR?

withInfo now preserves existing info on a node

How are these changes tested?

New unit test added

@andygrove
Copy link
Member Author

@parthchandra could you review?

Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!
I did not expect that there would be a case where the same node would need to update the explain info. Glad you corrected it.

@andygrove andygrove merged commit 9b7e26d into apache:main Aug 5, 2024
74 checks passed
@andygrove andygrove deleted the fix-withInfo-overwrite branch August 5, 2024 21:24
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* add test for withInfo

* improve test

* Revert whitespace changes

* update test

* format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants