CurtHagenlocher commented on PR #424:
URL: https://github.com/apache/arrow-dotnet/pull/424#issuecomment-5572009802
@rustyconover @cmettler How do you feel about instead returning the metadata
through a new overload, e.g.
```
public readonly struct RecordBatchWithMetadata
{
public RecordBatch Batch { get; }
public IReadOnlyDictionary<string, string> CustomMetadata { get; }
}
public RecordBatchWithMetadata ReadNextRecordBatchWithCustomMetadata();
public ValueTask<RecordBatchWithMetadata>
ReadNextRecordBatchWithCustomMetadataAsync(CancellationToken = default);
```
The "last metadata" property feels a little clunky to me.
--
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]