aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache
diff options
context:
space:
mode:
authorignat <ignat@yandex-team.com>2024-08-03 07:55:33 +0300
committerignat <ignat@yandex-team.com>2024-08-03 08:07:19 +0300
commit8744db6c4910e07c48a536a49886d2601c4fe6c6 (patch)
tree52fd5281fcd19b4688a58f430daacb0a06d6f4b9 /contrib/libs/apache
parent9fc72f6c2ac91a3cc867ee7b76e6222b0fda72f0 (diff)
downloadydb-8744db6c4910e07c48a536a49886d2601c4fe6c6.tar.gz
YT-22431: better support for protobuf string interop in apache orc
97f3f0e3c10d73bf0dba054c53176afd21749eb7
Diffstat (limited to 'contrib/libs/apache')
-rw-r--r--contrib/libs/apache/orc/c++/include/orc/Common.hh4
-rw-r--r--contrib/libs/apache/orc/c++/src/Statistics.hh2
-rw-r--r--contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/apache/orc/c++/include/orc/Common.hh b/contrib/libs/apache/orc/c++/include/orc/Common.hh
index 9da67a3f19..b3db848b52 100644
--- a/contrib/libs/apache/orc/c++/include/orc/Common.hh
+++ b/contrib/libs/apache/orc/c++/include/orc/Common.hh
@@ -23,8 +23,12 @@
#include "orc/Type.hh"
#include "orc/Vector.hh"
+#include <google/protobuf/message.h>
+
#include <string>
+using TProtoStringType = decltype(std::declval<::google::protobuf::MessageLite>().GetTypeName());
+
namespace orc {
class FileVersion {
diff --git a/contrib/libs/apache/orc/c++/src/Statistics.hh b/contrib/libs/apache/orc/c++/src/Statistics.hh
index 053b6c7fd8..eb14011c41 100644
--- a/contrib/libs/apache/orc/c++/src/Statistics.hh
+++ b/contrib/libs/apache/orc/c++/src/Statistics.hh
@@ -27,8 +27,6 @@
#include "Timezone.hh"
#include "TypeImpl.hh"
-#include <util/generic/string.h>
-
namespace orc {
/**
diff --git a/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc b/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
index 54968545b9..78b699f3f2 100644
--- a/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
+++ b/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
@@ -26,8 +26,6 @@
#include <sstream>
#include <type_traits>
-#include <util/generic/string.h>
-
namespace orc {
PredicateLeaf::PredicateLeaf(Operator op, PredicateDataType type, const std::string& colName,