You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "CurtHagenlocher (via GitHub)" <gi...@apache.org> on 2026/09/07 14:22:05 UTC

Re: [PR] Support IPC Message custom_metadata in ArrowStreamWriter and ArrowStreamReader (rebased continuation of #283) [arrow-dotnet]

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org