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

ORC-1685: Use Pattern Matching for instanceof in RecordReaderImpl #1884

Closed
wants to merge 1 commit into from

Conversation

cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Apr 10, 2024

What changes were proposed in this pull request?

This PR aims to use Java 16 Pattern Matching for instanceof (JEP-394) syntax in RecordReaderImpl.

Why are the changes needed?

Since Apache ORC 2.0 supports Java 17+, we can take advantage of this new syntax.

How was this patch tested?

GA

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the JAVA label Apr 10, 2024
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Thank you, @cxzl25 . Could you find more like the previous PR?

@dongjoon-hyun dongjoon-hyun added this to the 2.1.0 milestone Apr 10, 2024
@dongjoon-hyun
Copy link
Member

Merged to main for Apache ORC 2.1. Thank you, @cxzl25 .

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

Successfully merging this pull request may close these issues.

2 participants