support-modern-re2.patch 589 B

1234567891011
  1. --- contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc (index)
  2. +++ contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc (working tree)
  3. @@ -2725,7 +2725,7 @@ struct ExtractRegex : public ExtractRegexBase {
  4. result->value.reserve(group_count);
  5. for (int i = 0; i < group_count; i++) {
  6. result->value.push_back(
  7. - std::make_shared<ScalarType>(found_values[i].as_string()));
  8. + std::make_shared<ScalarType>(std::string{found_values[i]}));
  9. }
  10. result->is_valid = true;
  11. } else {