Re: C++ IPC Array length did not match record batch length (5)

2020-06-14 Thread Wes McKinney
It sounds like "arrowBatch" is invalid. What happens when you run ARROW_RETURN_NOT_OK(arrowBatch->Validate())? On Sun, Jun 14, 2020 at 2:09 PM Rares Vernica wrote: > > Hello, > > I'm porting a C++ program from Arrow 0.9.0 to 0.16.0. The *sender* uses > BufferOutputStream and RecordBatchWriter to

C++ IPC Array length did not match record batch length (5)

2020-06-14 Thread Rares Vernica
Hello, I'm porting a C++ program from Arrow 0.9.0 to 0.16.0. The *sender* uses BufferOutputStream and RecordBatchWriter to serialize a set of Arrow arrays. The *receiver* uses BufferReader and RecordBatchReader to deserialize them. I get the runtime error *Array length did not match record batch