[Bugs] Fix some bugs (#6586)
* fix regex lazy * fix result file core * fix dynamic partition replica and table name length bug * fix replicanum 0 * fix delete bug * renew proxy Co-authored-by: morningman <chenmingyu@baidu.com>
This commit is contained in:
@ -550,8 +550,9 @@ static re2::RE2* compile_regex(const StringVal& pattern, std::string* error_str,
|
||||
re2::RE2::Options options;
|
||||
// Disable error logging in case e.g. every row causes an error
|
||||
options.set_log_errors(false);
|
||||
// ATTN(cmy): no set it, or the lazy mode of regex won't work. See Doris #6587
|
||||
// Return the leftmost longest match (rather than the first match).
|
||||
options.set_longest_match(true);
|
||||
// options.set_longest_match(true);
|
||||
options.set_dot_nl(true);
|
||||
if (!match_parameter.is_null &&
|
||||
!StringFunctions::set_re2_options(match_parameter, error_str, &options)) {
|
||||
|
||||
Reference in New Issue
Block a user