summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2025-05-03 23:00:19 +0300
committerrobot-contrib <[email protected]>2025-05-03 23:12:07 +0300
commit4c780f0058b83cbc54813f40a3e7d1816e5c04c7 (patch)
treed882b966aace0447253ab564ebb127466b5b9df8
parent15210938cf1d9eba6c930d51731ff75447f41365 (diff)
Update contrib/libs/apache/orc-format to 1.1.0
commit_hash:7c9afc1d7ac6f6da4fa13ea646fab5b4dfd68e72
-rw-r--r--contrib/libs/apache/orc-format/README.md2
-rw-r--r--contrib/libs/apache/orc-format/src/main/proto/orc/proto/orc_proto.proto36
-rw-r--r--contrib/libs/apache/orc-format/ya.make4
3 files changed, 39 insertions, 3 deletions
diff --git a/contrib/libs/apache/orc-format/README.md b/contrib/libs/apache/orc-format/README.md
index 0ff748de175..d7b97df6760 100644
--- a/contrib/libs/apache/orc-format/README.md
+++ b/contrib/libs/apache/orc-format/README.md
@@ -35,7 +35,7 @@ lists, maps, and unions.
## ORC Format
This project includes ORC specifications and the protobuf definition.
-`Apache ORC Format 1.0.0` is desinged to be used for `Apache ORC 2.0+`.
+`Apache ORC Format 1.0.0` is designed to be used for `Apache ORC 2.0+`.
Releases:
* Maven Central: <a href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.orc%22">![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.orc/orc/badge.svg)</a>
diff --git a/contrib/libs/apache/orc-format/src/main/proto/orc/proto/orc_proto.proto b/contrib/libs/apache/orc-format/src/main/proto/orc/proto/orc_proto.proto
index 16c552334c7..1c38fc7d865 100644
--- a/contrib/libs/apache/orc-format/src/main/proto/orc/proto/orc_proto.proto
+++ b/contrib/libs/apache/orc-format/src/main/proto/orc/proto/orc_proto.proto
@@ -84,6 +84,27 @@ message CollectionStatistics {
optional uint64 total_children = 3;
}
+// Bounding box for Geometry or Geography type in the representation of min/max
+// value pair of coordinates from each axis.
+message BoundingBox {
+ optional double xmin = 1;
+ optional double xmax = 2;
+ optional double ymin = 3;
+ optional double ymax = 4;
+ optional double zmin = 5;
+ optional double zmax = 6;
+ optional double mmin = 7;
+ optional double mmax = 8;
+}
+
+// Statistics specific to Geometry or Geography type
+message GeospatialStatistics {
+ // A bounding box of geospatial instances
+ optional BoundingBox bbox = 1;
+ // Geospatial type codes of all instances, or an empty list if not known
+ repeated int32 geospatial_types = 2;
+}
+
message ColumnStatistics {
optional uint64 number_of_values = 1;
optional IntegerStatistics int_statistics = 2;
@@ -97,6 +118,7 @@ message ColumnStatistics {
optional bool has_null = 10;
optional uint64 bytes_on_disk = 11;
optional CollectionStatistics collection_statistics = 12;
+ optional GeospatialStatistics geospatial_statistics = 13;
}
message RowIndexEntry {
@@ -216,6 +238,8 @@ message Type {
VARCHAR = 16;
CHAR = 17;
TIMESTAMP_INSTANT = 18;
+ GEOMETRY = 19;
+ GEOGRAPHY = 20;
}
optional Kind kind = 1;
repeated uint32 subtypes = 2 [packed=true];
@@ -224,6 +248,18 @@ message Type {
optional uint32 precision = 5;
optional uint32 scale = 6;
repeated StringPair attributes = 7;
+
+ // Coordinate Reference System (CRS) for Geometry and Geography types
+ optional string crs = 8;
+ // Edge interpolation algorithm for Geography type
+ enum EdgeInterpolationAlgorithm {
+ SPHERICAL = 0;
+ VINCENTY = 1;
+ THOMAS = 2;
+ ANDOYER = 3;
+ KARNEY = 4;
+ }
+ optional EdgeInterpolationAlgorithm algorithm = 9;
}
message StripeInformation {
diff --git a/contrib/libs/apache/orc-format/ya.make b/contrib/libs/apache/orc-format/ya.make
index 209516df159..80f1c958cb2 100644
--- a/contrib/libs/apache/orc-format/ya.make
+++ b/contrib/libs/apache/orc-format/ya.make
@@ -6,9 +6,9 @@ LICENSE(Apache-2.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.0.0)
+VERSION(1.1.0)
-ORIGINAL_SOURCE(https://github.com/apache/orc-format/archive/v1.0.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/apache/orc-format/archive/v1.1.0.tar.gz)
PY_NAMESPACE(src/main/proto/orc/proto)