apache / orc

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

ORC-1642: Avoid `System.exit(0)` in `scan` command #1832

Closed cxzl25 closed 4 months ago

cxzl25 commented 4 months ago

What changes were proposed in this pull request?

This PR aims to avoid System.exit(0) in scan command.

Why are the changes needed?

System.exit(0) is not conducive to testing, especially in Java17 and above. Without System.exit(0), the program can exit normally.

How was this patch tested?

local test

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

No