CurtHagenlocher commented on code in PR #43939:
URL: https://github.com/apache/arrow/pull/43939#discussion_r1742763769
##########
csharp/src/Apache.Arrow/Ipc/ArrowStreamReaderImplementation.cs:
##########
@@ -55,6 +55,9 @@ public override RecordBatch ReadNextRecordBatch()
protected async ValueTask<RecordBatch>
ReadRecordBatchAsync(CancellationToken cancellationToken = default)
{
+ if (BaseStream.Length == 0)
+ return null;
Review Comment:
I don't think it's even possible to check the length of a network stream.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]