diff options
author | a-romanov <Anton.Romanov@ydb.tech> | 2022-10-24 17:55:03 +0300 |
---|---|---|
committer | a-romanov <Anton.Romanov@ydb.tech> | 2022-10-24 17:55:03 +0300 |
commit | 7741bf7772cfd0c0421d37aaa53b1b200841b056 (patch) | |
tree | 77ada5a5b59b8960347ba0cab9e98c1b9827a773 | |
parent | 6e24b77f08a0d205ddf4b97175e2384dcda8636c (diff) | |
download | ydb-7741bf7772cfd0c0421d37aaa53b1b200841b056.tar.gz |
Swap ExtractMembers with Iterator.
-rw-r--r-- | ydb/library/yql/core/common_opt/yql_co_simple1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp index 175bac79505..4f7ce71a9d3 100644 --- a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp +++ b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp @@ -3637,8 +3637,8 @@ void RegisterCoSimpleCallables1(TCallableOptimizerMap& map) { return ctx.ChangeChildren(node->Head(), std::move(args)); } - if (node->Head().IsCallable("AssumeAllMembersNullableAtOnce")) { - YQL_CLOG(DEBUG, Core) << node->Content() << " over " << node->Head().Content(); + if (node->Head().IsCallable({"Iterator", "LazyList", "AssumeAllMembersNullableAtOnce"})) { + YQL_CLOG(DEBUG, Core) << "Swap " << node->Content() << " with " << node->Head().Content(); return ctx.SwapWithHead(*node); } |