Closed stuartlynn closed 1 year ago
When serializing to IPC format using
table.toArrowBuffer()
There is no way to specify if the serialization should be in IPC "stream" or "file" format.
The call to tableToIPC here:
https://github.com/uwdata/arquero/blob/074e1efdb6b8df2ca125db0c36020a8feb1d2d66/src/format/to-arrow.js#L6-L8
does not allow any passing of the second option defined in apache-arrow
https://github.com/apache/arrow/blob/5611f2bd0d6136b005d137a84b50709fc5c813bb/js/src/ipc/serialization.ts#L61-L65
This PR adds a {format} option to the options parameter of toArrowBuffer to allow specification of the IPC format
Thanks!
When serializing to IPC format using
There is no way to specify if the serialization should be in IPC "stream" or "file" format.
The call to tableToIPC here:
https://github.com/uwdata/arquero/blob/074e1efdb6b8df2ca125db0c36020a8feb1d2d66/src/format/to-arrow.js#L6-L8
does not allow any passing of the second option defined in apache-arrow
https://github.com/apache/arrow/blob/5611f2bd0d6136b005d137a84b50709fc5c813bb/js/src/ipc/serialization.ts#L61-L65
This PR adds a {format} option to the options parameter of toArrowBuffer to allow specification of the IPC format