Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
0.14.1
-
None
-
None
Description
I am generating an arrow table in pyarrow and send it via gRPC like this:
sink = pa.BufferOutputStream() writer = pa.RecordBatchStreamWriter(sink, batch.schema) writer.write_batch(batch) writer.close() yield ds.Response( status=200, loading=False, response=[sink.getvalue().to_pybytes()] )
On the javascript end, I parse it like that:
Table.from(response.getResponseList()[0])
That works but when I look at the actual table, int columns have a 0 for every other row. String columns seem to be parsed just fine.
The Python byte array created from to_pybytes() has the same length as received in javascript. I am also able to recreate the original table for the byte array in Python.