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-1542: Use Java 16 Pattern Matching for instanceof (JEP-394) #1681

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Dec 5, 2023

What changes were proposed in this pull request?

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

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?

Pass the CIs.

@github-actions github-actions bot added the JAVA label Dec 5, 2023
@dongjoon-hyun dongjoon-hyun added this to the 2.0.0 milestone Dec 5, 2023
@dongjoon-hyun dongjoon-hyun deleted the ORC-1542 branch December 5, 2023 17:30
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

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

### 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?

Pass the CIs.

Closes apache#1681 from dongjoon-hyun/ORC-1542.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
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.

1 participant