Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Update to latest IDL #2

Merged
merged 1 commit into from Mar 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/main/protobuf/orc_proto.proto
Expand Up @@ -39,6 +39,10 @@ message StringStatistics {
optional string maximum = 2;
// sum will store the total length of all strings in a stripe
optional sint64 sum = 3;
// If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
// bound instead of the minimum or maximum values above.
optional string lowerBound = 4;
optional string upperBound = 5;
}

message BucketStatistics {
Expand Down Expand Up @@ -81,6 +85,7 @@ message ColumnStatistics {
optional BinaryStatistics binaryStatistics = 8;
optional TimestampStatistics timestampStatistics = 9;
optional bool hasNull = 10;
optional uint64 bytesOnDisk = 11;
}

message RowIndexEntry {
Expand Down Expand Up @@ -207,6 +212,7 @@ message Footer {
// 0 = ORC Java
// 1 = ORC C++
// 2 = Presto
// 3 = Scritchley Go from https://github.com/scritchley/orc
optional uint32 writer = 9;
}

Expand Down Expand Up @@ -254,6 +260,9 @@ message PostScript {
// Version of the Presto writer:
// 6 = original
//
// Version of the Scritchley Go writer:
// 6 = original
//
optional uint32 writerVersion = 6;
// Leave this last in the record
optional string magic = 8000;
Expand Down