Browse Source

YT-22431: better support for protobuf string interop in apache orc
97f3f0e3c10d73bf0dba054c53176afd21749eb7

ignat 7 months ago
parent
commit
8744db6c49

+ 4 - 0
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 {

+ 0 - 2
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 {
 
   /**

+ 0 - 2
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,