Skip to content

Apache DataFusion SQL Query Engine

ARROW-257: Add a typeids Vector to Union type

Julien Le Dem3561fefaf33c
diff --git a/format/Message.fbs b/format/Message.fbs
index 07da862c32..288f5a1b6b 100644
--- a/format/Message.fbs
+++ b/format/Message.fbs
@@ -23,8 +23,13 @@ table List {
enum UnionMode:short { Sparse, Dense }
+/// A union is a complex type with children in Field
+/// By default ids in the type vector refer to the offsets in the children
+/// optionally typeIds provides an indirection between the child offset and the type id
+/// for each child typeIds[offset] is the id used in the type vector
table Union {
mode: UnionMode;
+ typeIds: [ int ]; // optional, describes typeid of each child.
}
table Int {