You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As part of implementing an Arrow flight client, we have observed that there is a maximum message size for gRPC messages, and thus while encoding the Arrow flight client has a way to limit the size of the messages (see #3391)
However, apparently there is currently no way to get the memory size used by a sliced (aka the array only points to a portion of the overall underlying allocation), which will result in overly conservative re-splitting in the arrow-flight client
It is worth noting that this method does not take into account already sliced arrays, we likely need to add a get_slice_memory_size or something to ArrayData to provide this, it should be relatively straightforward
Describe alternatives you've considered
We could leave the users of the client to worry about batch splitting
Activity
askoa commentedon Jan 9, 2023
I'll give this a try.
alamb commentedon Jan 9, 2023
Thank you @askoa
tustvold commentedon Jan 13, 2023
label_issue.pyautomatically added labels {'arrow'} from #3501tustvold commentedon Jan 13, 2023
label_issue.pyautomatically added labels {'arrow-flight'} from #3391