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-1665: Migrate to `importOrder` of `spotless-maven-plugin` #1860

Closed cxzl25 closed 3 months ago

cxzl25 commented 3 months ago

What changes were proposed in this pull request?

This PR aims to enable the importOrder function in spotless-maven-plugin.

mvn spotless:apply -Panalyze

Why are the changes needed?

Although there is now checkstyle to limit the order of imports, it cannot be automatically adjusted. spotless-maven-plugin can check and automatically adjust.

https://github.com/apache/orc/pull/1859#pullrequestreview-1959266086

How was this patch tested?

local test

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

No

dongjoon-hyun commented 3 months ago

Could you resolve the conflicts, @cxzl25 ?