apache / orc

Apache ORC - the smallest, fastest columnar storage for Hadoop workloads
https://orc.apache.org/
Apache License 2.0
670 stars 477 forks source link

ORC-1646: Close the reader when reading the schema with the `convert` command #1837

Closed cxzl25 closed 4 months ago

cxzl25 commented 4 months ago

What changes were proposed in this pull request?

This PR aims to close the reader when reading the schema with the convert command.

Why are the changes needed?

When using the convert command, when the input file format is ORC, the ORC schema is read, but not the close ORC reader.

How was this patch tested?

local test

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

No