Re: Serializing and deserializing a single RecordBatch via IPC

2025-04-05 Thread Jack Wimberley via user
Hi Aldrin, My apologies, I never saw this message from you, but thanks belatedly! Your guess was more or less on the mark. Best, Jack On Tue, Mar 4, 2025 at 11:27 PM Aldrin wrote: > Hi Jack! > > I attempted the code you provided and it seemed to work for me. I put my > code in a gist [1] for

Re: Serializing and deserializing a single RecordBatch via IPC

2025-04-05 Thread Aldrin
No problem! Hopefully you found the issue. Sent from Proton Mail for iOS On Wed, Mar 26, 2025 at 07:30, Jack Wimberley via user wrote: Hi Aldrin, My apologies, I never saw this message from you, but thanks belatedly! Your guess was more or less on the mark.

Re: Serializing and deserializing a single RecordBatch via IPC

2025-03-05 Thread Jack Wimberley via user
Oops -- I belatedly thought to bump up the deserialization logic to read from the same buffer that I originally wrote to and this worked fine, and clearly the problem lies elsewhere in the transit. Sorry for the noise! Best, Jack On Mar 5, 2025 at 12:06 PM -0500, Jack Wimberley , wrote: > One

Re: Serializing and deserializing a single RecordBatch via IPC

2025-03-05 Thread Jack Wimberley via user
One other bit of information: I occasionally get the error message "Tried reading schema message, was null or length 0” instead, in the exact same context. On Mar 4, 2025 at 4:34 PM -0500, Jack Wimberley , wrote: > Hello all, > > I am attempting to serialize and then deserialize individual Recor

Re: Serializing and deserializing a single RecordBatch via IPC

2025-03-04 Thread Aldrin
Hi Jack! I attempted the code you provided and it seemed to work for me. I put my code in a gist [1] for you to compare against your own. I don't use `THROW_NOT_OK` simply because I figured it wouldn't be necessary to try that as well (I assume that's either your own macro or something you can

Serializing and deserializing a single RecordBatch via IPC

2025-03-04 Thread Jack Wimberley via user
Hello all, I am attempting to serialize and then deserialize individual RecordBatch objects, using the C++ library. However, I’m getting an “Invalid” result on the deserialization end. On the serialization end, with the help of some methods THROW_NOT_OK that throw on non-OK Status and Result (