Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
An error has been found when one sends an empty record batch from C# server and tries to read it with the java client.
From investigation the java client requires the protobuf tags to be sent in the message even though it is empty. Java code can be seen here:
Line 257-301 (the error is that it wont accept a null body for a record batch)
Normal functionality of gRPC is to exclude the entire tag if an object is empty, example code from generated csharp:
if (DataBody.Length != 0)
{ output.WriteRawTag(194, 62); output.WriteBytes(DataBody); }To fix this so the csharp version is compatible with the java client requires a non empty flight data body must be sent or at least the tag of the body.
Attachments
Issue Links
- is related to
-
ARROW-10960 [C++][FlightRPC] Missing protobuf data_body should result in default value of empty bytes, not null
- Resolved
-
ARROW-10962 [Java][FlightRPC] FlightData deserializer should accept missing fields
- Resolved