Closed cxzl25 closed 2 months ago
This PR aims to use Java 16 Pattern Matching for instanceof (JEP-394) syntax in RecordReaderImpl.
Pattern Matching for instanceof
RecordReaderImpl
Since Apache ORC 2.0 supports Java 17+, we can take advantage of this new syntax.
GA
No
Merged to main for Apache ORC 2.1. Thank you, @cxzl25 .
What changes were proposed in this pull request?
This PR aims to use Java 16
Pattern Matching for instanceof
(JEP-394) syntax inRecordReaderImpl
.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