Open saherawat opened 4 months ago
@suharev7 can you please take a look at this PR?
@suharev7 can you please take a look at this PR. Please help us get this checked in.
I just wonder how are you going to user ArcColumnData.
We are using apache arrow and with this change we are able to directly copy the memory blocks into Apache arrow column's data.
I would like to be able to change the implementation of ColumnData
trait in the future, so I don't want to expose this trait.
I can add a new method that will consume Column
and return Vec<T>
without memory coping (when it's possible, for example, for primitive date types). Might this be suitable for you?
This change has helped us copying the data into apache arrow structures directly and it has improved the latency significantly (6 times faster) as compared to copying individual elements.