diff options
author | a-romanov <Anton.Romanov@ydb.tech> | 2023-03-15 14:41:27 +0300 |
---|---|---|
committer | a-romanov <Anton.Romanov@ydb.tech> | 2023-03-15 14:41:27 +0300 |
commit | f0241f6a7eaadf213742c401c1aed515e29f6f63 (patch) | |
tree | 260220898fdcbce964a1e5c58abe6c9bd643157f | |
parent | e358daaae41dfaa3d6500c003274629b01d7b3ec (diff) | |
download | ydb-f0241f6a7eaadf213742c401c1aed515e29f6f63.tar.gz |
YQL-15415 Drop Unordered on EquiJoin.
-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 ec5c057e52e..c7c1ca0e467 100644 --- a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp +++ b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp @@ -5502,8 +5502,8 @@ void RegisterCoSimpleCallables1(TCallableOptimizerMap& map) { }; map["Unordered"] = map["UnorderedSubquery"] = [](const TExprNode::TPtr& node, TExprContext& ctx, TOptimizeContext& /*optCtx*/) { - if (node->Head().IsCallable("AsList")) { - YQL_CLOG(DEBUG, Core) << node->Content() << " over " << node->Head().Content(); + if (node->Head().IsCallable({"AsList","EquiJoin"})) { + YQL_CLOG(DEBUG, Core) << "Drop " << node->Content() << " over " << node->Head().Content(); return node->HeadPtr(); } |