Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions format/Message.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,16 @@ table VectorLayout {
type: VectorType;
}


/// ----------------------------------------------------------------------
/// user defined key value pairs to add custom metadata to arrow
/// key namespacing is the responsibility of the user

table KeyValue {
key: string;
value: [ubyte];
}

/// ----------------------------------------------------------------------
/// A field represents a named column in a record / row batch or child of a
/// nested type.
Expand All @@ -146,6 +156,8 @@ table Field {
/// does not include children
/// each recordbatch will return instances of those Buffers.
layout: [ VectorLayout ];
// User-defined metadata
custom_metadata: [ KeyValue ];
}

/// ----------------------------------------------------------------------
Expand All @@ -164,6 +176,8 @@ table Schema {
endianness: Endianness=Little;

fields: [Field];
// User-defined metadata
custom_metadata: [ KeyValue ];
}

/// ----------------------------------------------------------------------
Expand Down