diff options
author | a-romanov <Anton.Romanov@ydb.tech> | 2023-04-20 11:17:45 +0300 |
---|---|---|
committer | a-romanov <Anton.Romanov@ydb.tech> | 2023-04-20 11:17:45 +0300 |
commit | d0c642847472b3222a1a73a941917d393cc6ddf3 (patch) | |
tree | 21dfe438eb332b5a0bfc96885b0560fc104ae003 | |
parent | 2672c24d6319d55249f681a26eb9acd8d779084d (diff) | |
download | ydb-d0c642847472b3222a1a73a941917d393cc6ddf3.tar.gz |
YQL-8971 YQL-15435 Fix get keys for list type columns.
-rw-r--r-- | ydb/library/yql/core/yql_expr_constraint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/core/yql_expr_constraint.cpp b/ydb/library/yql/core/yql_expr_constraint.cpp index e6d903350f..cacf929e97 100644 --- a/ydb/library/yql/core/yql_expr_constraint.cpp +++ b/ydb/library/yql/core/yql_expr_constraint.cpp @@ -2645,7 +2645,7 @@ private: } } } - } else if (auto l = GetPathToKey(body.Head(), args), r = GetPathToKey(body.Tail(), args); l && r && *l == *r) { + } else if (auto l = GetPathToKey(SkipCallables(body.Head(), {"Length"}), args), r = GetPathToKey(SkipCallables(body.Tail(), {"Length"}), args); l && r && *l == *r) { if constexpr (Wide) { auto path = l->first; path.emplace_front(ctx.GetIndexAsString(l->second)); |