-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-10333: [Java] Get rid of org.apache.arrow.util in vector #8483
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
Conversation
1e10040 to
3fb2d03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be placed after the next line, to maintain the import order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. I changed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to import it only once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that. Must have happened during the rebasing of my local changes. It's finally fixed now.
3fb2d03 to
8d3e452
Compare
The package org.apache.arrow.util was present in the artifacts arrow-vector and arrow-vector-memory-core. Split packages are a problem for OSGI and the Java 9+ modules (JPMS). This commit moves the classes AutoClosables and Collections2 to arrow-memory-core because they are generally useful and have no coupling with arrow-vector. The class DataSizeRoundingUtil is tighter coupled with arrow-vector and is therefore moved to the package org.apache.arrow.vector.util.
8d3e452 to
eecc8cd
Compare
liyafan82
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will merge soon if there are no more comments.
|
Merging. Thanks for the patch @HedgehogCode |
The package `org.apache.arrow.util` was present in the artifacts arrow-vector and arrow-vector-memory-core. Split packages are a problem for OSGI and the Java 9+ modules (JPMS). This PR moves the classes `AutoClosables` and `Collections2` to arrow-memory-core because they are generally useful and have no coupling with arrow-vector. The class `DataSizeRoundingUtil` is tighter coupled with arrow-vector and is therefore moved to the package `org.apache.arrow.vector.util`. Closes apache#8483 from HedgehogCode/fix-split-packages Authored-by: Benjamin Wilhelm <benjamin.wilhelm@knime.com> Signed-off-by: liyafan82 <fan_li_ya@foxmail.com>
The package
org.apache.arrow.utilwas present in the artifacts arrow-vector and arrow-vector-memory-core. Split packages are a problem for OSGI and the Java 9+ modules (JPMS).This PR moves the classes
AutoClosablesandCollections2to arrow-memory-core because they are generally useful and have no coupling with arrow-vector.The class
DataSizeRoundingUtilis tighter coupled with arrow-vector and is therefore moved to the packageorg.apache.arrow.vector.util.