Skip to content

Instantly share code, notes, and snippets.

@wesm
Created April 29, 2020 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesm/190006d91628e6bf7c04deb596a52cff to your computer and use it in GitHub Desktop.
Save wesm/190006d91628e6bf7c04deb596a52cff to your computer and use it in GitHub Desktop.
$ ack boost ../src/gandiva/
../src/gandiva/projector_cache_key.h
40: boost::hash_combine(result, expr_as_string);
43: boost::hash_combine(result, mode);
44: boost::hash_combine(result, configuration->Hash());
45: boost::hash_combine(result, schema_->ToString());
46: boost::hash_combine(result, uniqifier_);
../src/gandiva/configuration.cc
20:#include <boost/functional/hash.hpp>
../src/gandiva/precompiled/decimal_ops.cc
32:// use the boost library for doing 256-bit operations. To avoid references to boost from
286: // This requires converting to 256-bit, and we use the boost library for that. To
287: // avoid references to boost from the precompiled-to-ir code (this causes issues
../src/gandiva/date_utils.cc
33: for (const auto& it : sql_date_format_to_boost_map_) {
112: builder << sql_date_format_to_boost_map_[potentialList[0]];
149: builder << sql_date_format_to_boost_map_[match];
166: builder << sql_date_format_to_boost_map_[exactMatches[0]];
179:DateUtils::date_format_converter DateUtils::sql_date_format_to_boost_map_ = InitMap();
../src/gandiva/decimal_xlarge.cc
27:#include <boost/multiprecision/cpp_int.hpp>
103:using boost::multiprecision::int256_t;
../src/gandiva/filter_cache_key.h
24:#include <boost/functional/hash.hpp>
38: boost::hash_combine(result, expression_as_string_);
39: boost::hash_combine(result, configuration);
40: boost::hash_combine(result, schema_->ToString());
41: boost::hash_combine(result, uniqifier_);
../src/gandiva/function_signature.cc
20:#include <boost/algorithm/string.hpp>
21:#include <boost/functional/hash.hpp>
28: !boost::iequals(base_name_, other.base_name_)) {
45: boost::hash_combine(result, boost::algorithm::to_lower_copy(base_name_));
46: boost::hash_combine(result, ret_type_->id());
49: boost::hash_combine(result, param_type->id());
../src/gandiva/expr_validator.h
23:#include <boost/functional/hash.hpp>
74: using FieldMap = std::unordered_map<std::string, FieldPtr, boost::hash<std::string>>;
../src/gandiva/lru_cache.h
26:// modified from boost LRU cache -> the boost cache supported only an
../src/gandiva/date_utils.h
48: static date_format_converter sql_date_format_to_boost_map_;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment