-
Notifications
You must be signed in to change notification settings - Fork 819
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
Replace Custom Buffer Implementation with Bytes in Parquet #1474
Comments
Thanks. Yes these are pretty out-dated and I think it will be good to replace them. Have you thought about just use |
I hadn't, but I'm not sure it is a good fit
|
If possible, we could use Arrow's buffer based on the The upside of using Arrow's buffer is minimising/eliminating data copies. I was able to improve the Arrow side here (#820), and see @alamb's comment (#820 (comment)).
This would be great, as it seems that a lot of the safety (and some perf) issues lie there. |
I think using |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The parquet crate currently rolls its own
ByteBufferPtr
,BufferPtr
,Buffer
, etc... and this feels like functionality that could be provided by an upstream crate.Describe the solution you'd like
The bytes crate has wide ecosystem adoption and supports most of the necessary functionality. It does not support memory tracking, but I'm not sure this is being used given the
util::memory
module was made experimental and therefore not public in #1134 and there hasn't been any wailing nor gnashing of teeth resulting from this.Describe alternatives you've considered
Continue to use custom buffer abstractions.
Tagging @sunchao as I believe he added this code all the way back in 2018 😅
The text was updated successfully, but these errors were encountered: