Skip to content

Apache DataFusion SQL Query Engine

ARROW-256: [Format] Add a version number to the IPC/RPC metadata

Wes McKinneyd4053ed0ae22
diff --git a/format/File.fbs b/format/File.fbs
index f7ad1e1594..a29bbc694b 100644
--- a/format/File.fbs
+++ b/format/File.fbs
@@ -7,6 +7,7 @@ namespace org.apache.arrow.flatbuf;
///
table Footer {
+ version: org.apache.arrow.flatbuf.MetadataVersion;
schema: org.apache.arrow.flatbuf.Schema;
diff --git a/format/Message.fbs b/format/Message.fbs
index 78bdaeb35f..657904a703 100644
--- a/format/Message.fbs
+++ b/format/Message.fbs
@@ -1,5 +1,9 @@
namespace org.apache.arrow.flatbuf;
+enum MetadataVersion:short {
+ V1_SNAPSHOT
+}
+
/// ----------------------------------------------------------------------
/// Logical types and their metadata (if any)
///
@@ -237,6 +241,7 @@ union MessageHeader {
}
table Message {
+ version: org.apache.arrow.flatbuf.MetadataVersion;
header: MessageHeader;
bodyLength: long;
}