diff options
| author | aneporada <[email protected]> | 2022-08-30 17:25:41 +0300 |
|---|---|---|
| committer | aneporada <[email protected]> | 2022-08-30 17:25:41 +0300 |
| commit | 8ef1d870a8c73f1b7abf3f967ac2ef7d6e119c58 (patch) | |
| tree | 725fd099741425b251f71827c9a5d3a6f6e591d8 | |
| parent | be4e3940d724b3f7fbdc9eacb063817fd2fe1fb7 (diff) | |
[] Emit AssumeStrict for LIKE/ILIKE
| -rw-r--r-- | ydb/library/yql/sql/v1/sql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/sql/v1/sql.cpp b/ydb/library/yql/sql/v1/sql.cpp index 9f0e83c5708..4e6bfd61111 100644 --- a/ydb/library/yql/sql/v1/sql.cpp +++ b/ydb/library/yql/sql/v1/sql.cpp @@ -5129,7 +5129,7 @@ TNodePtr TSqlExpression::SubExpr(const TRule_xor_subexpr& node, const TTrailingQ auto list = new TAstListNodeImpl(pos, { escapedPattern, optionsApply }); auto runConfig = new TAstListNodeImpl(pos, { new TAstAtomNodeImpl(pos, "quote", 0), list }); - const auto& matcher = BuildUdf(Ctx, pos, "Re2", "Match", { runConfig }); + const TNodePtr matcher = new TCallNodeImpl(pos, "AssumeStrict", { BuildUdf(Ctx, pos, "Re2", "Match", { runConfig }) }); isMatch = new TCallNodeImpl(pos, "Apply", { matcher, res }); bool isUtf8 = false; |
