Skip to content

Commit b3e666d

Browse files
committed
ARROW-9258: [FORMAT] Add V5 MetadataVersion to Schema.fbs
Version V4 is backwards compatible (with compatibility code for reading unions), but V5 is primarily about guaranteeing that the forward compatibility additions have the intended effect. Additionally the IPC serialization format for unions has changed between V4 and V5. Closes apache#7566 from wesm/metadata-version-v5 Authored-by: Wes McKinney <wesm@apache.org> Signed-off-by: Wes McKinney <wesm@apache.org>
1 parent a6e90de commit b3e666d

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

format/Schema.fbs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,24 @@
2020
namespace org.apache.arrow.flatbuf;
2121

2222
enum MetadataVersion:short {
23-
/// 0.1.0
23+
/// 0.1.0 (October 2016).
2424
V1,
2525

26-
/// 0.2.0
26+
/// 0.2.0 (February 2017). Non-backwards compatible with V1.
2727
V2,
2828

29-
/// 0.3.0 -> 0.7.1
29+
/// 0.3.0 -> 0.7.1 (May - December 2017). Non-backwards compatible with V2.
3030
V3,
3131

32-
/// >= 0.8.0
32+
/// >= 0.8.0 (December 2017). Non-backwards compatible with V3.
3333
V4,
34+
35+
/// >= 1.0.0 (July 2020. Backwards compatible with V4 (V5 readers can read V4
36+
/// metadata and IPC messages). Implementations are recommended to provide a
37+
/// V4 compatibility mode with V5 format changes disabled.
38+
///
39+
/// TODO: Add list of non-forward compatible changes.
40+
V5,
3441
}
3542

3643
/// These are stored in the flatbuffer in the Type union below

0 commit comments

Comments
 (0)