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