Uh oh!
There was an error while loading. Please reload this page.
refactor: remove uses of arrow_buffer & arrow_array and use reexport in arrow instead - #14503
Conversation
alamb
left a comment
There was a problem hiding this comment.
Thank you so much @Chen-Yuan-Lai
I also took the liberty of removing a few more uses of arrow_buffer and removed it from the Cargo.toml files and pushed that change to this PR
It turns out OffsetBufferBuilder is still used in some places so I made an upstream PR in arrow-rs to help:
Any chance you are willing to do the same thing for arrow-array?
| ], optional = true } | ||
| arrow = { workspace = true } | ||
| arrow-array = { workspace = true } | ||
| arrow-buffer = { workspace = true } |
There was a problem hiding this comment.
I also removed the dependency directly from Cargo.toml
Chen-Yuan-Lai
commented
Feb 5, 2025
Sure : ) |
alamb
commented
Feb 5, 2025
To be clear, I suggest we do this in a separate PR |
alamb
commented
Feb 5, 2025
I plan to merge this PR when the CI checks pass |
alamb
commented
Feb 5, 2025
Thanks again @Chen-Yuan-Lai |
Which issue does this PR close?
Closes#14115.
Rationale for this change
As #14115 (comment) says, we should use reexport in arrow as much as possible.
What changes are included in this PR?
Are these changes tested?
use arrow_buffer:: xxx->use arrow::buffer::xxxuse arrow_array:: xxx->use arrow::array::xxxI leave some imports as it is when those modules weren't reexported in arrow
Are there any user-facing changes?