aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-11-15 20:22:48 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-11-15 20:37:31 +0300
commit10f94306ce7bd8ab91d79500176350e065d3f0f2 (patch)
tree9c88a258af04cd8d6f3a5d2d6a980d075c19058a
parent1880fe32503d1703d735fc22de65ad2e2a5ef7f1 (diff)
downloadydb-10f94306ce7bd8ab91d79500176350e065d3f0f2.tar.gz
Update contrib/libs/apache/orc to 2.0.3
commit_hash:14f1aaf61c47ab6ad2bd87d8bf69b0fc904cb75b
-rw-r--r--contrib/libs/apache/orc/README.md2
-rw-r--r--contrib/libs/apache/orc/c++/include/orc/orc-config.hh2
-rw-r--r--contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc3
-rw-r--r--contrib/libs/apache/orc/ya.make4
4 files changed, 7 insertions, 4 deletions
diff --git a/contrib/libs/apache/orc/README.md b/contrib/libs/apache/orc/README.md
index 60b0da5fcb..cf5c5d0793 100644
--- a/contrib/libs/apache/orc/README.md
+++ b/contrib/libs/apache/orc/README.md
@@ -43,7 +43,7 @@ The subdirectories are:
### Building
* Install java 17 or higher
-* Install maven 3.9.6 or higher
+* Install maven 3.9.9 or higher
* Install cmake 3.12 or higher
To build a release version with debug information:
diff --git a/contrib/libs/apache/orc/c++/include/orc/orc-config.hh b/contrib/libs/apache/orc/c++/include/orc/orc-config.hh
index 6d6ae91a34..5205a56af6 100644
--- a/contrib/libs/apache/orc/c++/include/orc/orc-config.hh
+++ b/contrib/libs/apache/orc/c++/include/orc/orc-config.hh
@@ -19,7 +19,7 @@
#ifndef ORC_CONFIG_HH
#define ORC_CONFIG_HH
-#define ORC_VERSION "2.0.2"
+#define ORC_VERSION "2.0.3"
#define ORC_CXX_HAS_CSTDINT
diff --git a/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc b/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
index dda89f7c3b..3c23e28beb 100644
--- a/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
+++ b/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
@@ -701,6 +701,9 @@ namespace orc {
}
}
+ // files written by trino may lack of hasnull field.
+ if (!colStats.has_has_null()) return TruthValue::YES_NO_NULL;
+
bool allNull = colStats.has_null() && colStats.number_of_values() == 0;
if (mOperator == Operator::IS_NULL ||
((mOperator == Operator::EQUALS || mOperator == Operator::NULL_SAFE_EQUALS) &&
diff --git a/contrib/libs/apache/orc/ya.make b/contrib/libs/apache/orc/ya.make
index 3484882d72..12617d59ab 100644
--- a/contrib/libs/apache/orc/ya.make
+++ b/contrib/libs/apache/orc/ya.make
@@ -6,9 +6,9 @@ LICENSE(Apache-2.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(2.0.2)
+VERSION(2.0.3)
-ORIGINAL_SOURCE(https://github.com/apache/orc/archive/rel/release-2.0.2.tar.gz)
+ORIGINAL_SOURCE(https://github.com/apache/orc/archive/rel/release-2.0.3.tar.gz)
PEERDIR(
contrib/libs/apache/orc-format