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

Manually implement PartialEq and Hash for BinaryExpr #5

Conversation

alamb
Copy link

@alamb alamb commented Oct 24, 2024

Targets apache#13005

Instead of adding a new parameter to BinaryExpr here is a proposal to add a manual derivation of PartialEq and Hash

While this will result in more code (until the rust bug is fixed) I think it would overall make the code easier to understand (as the PhysicalExpr structs will avoid having a generic

If you agree @peter-toth I can make a PR to your branch to change the other instances

@alamb alamb merged commit 5e9257c into peter-toth:physicalexpr-eq-partialeq-hash Oct 24, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant