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: Add output to Comet operators equal and hashCode #902

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Sep 2, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

During debugging the last test failure in #893, it is caused by incorrectly exchange reuse of two Comet hash aggregate operators. Currently Comet hash aggregate operator's equal and hashCode don't include output. So if two hash operators have same input, mode, etc, they will be wrongly considered equal and cause the issue.

This patch add output to all Comet operators' equal and hashCode methods.

What changes are included in this PR?

How are these changes tested?

Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @viirya

@viirya viirya merged commit 033fe6f into apache:main Sep 2, 2024
74 checks passed
@viirya
Copy link
Member Author

viirya commented Sep 2, 2024

Thanks @andygrove

@viirya viirya deleted the fix_eq branch September 2, 2024 23:42
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.

2 participants