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: Remove operator== and hash in DwrfStreamIdentifier #12356

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

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Feb 17, 2025

Makes operator==, hash, toString in StreamIdentifier non-virtual, and removes
unused operator== and hash in DwrfStreamIdentifier.
Fixes #12342.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 17, 2025
Copy link

netlify bot commented Feb 17, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit b3331bf
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67b315e805d2390008a2e4b4

@Yuhta
Copy link
Contributor

Yuhta commented Feb 17, 2025

I see, in reader side we only care about the field identifier, but on writer side we also want to differentiate the different streams in the same field. Maybe try decouple them by removing the inheritance, and keep StreamIdentifier for reader and DwrfStreamIdentifier for writer.

@rui-mo
Copy link
Collaborator Author

rui-mo commented Feb 17, 2025

@Yuhta Thanks for help suggest. I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation failure on dwio/dwrf/common/Common.h
3 participants