aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry O <alephonea@users.noreply.github.com>2024-11-23 07:31:45 -0800
committerGitHub <noreply@github.com>2024-11-23 07:31:45 -0800
commitb83d01cbfdc83e5af0fc9ff12fbb8da67f587fea (patch)
treee5e4d0ed63eb221fbe9e6e091c417bc86983c199
parent8e35b97c0da2c50cc8b9f288fdb6318239b6b37d (diff)
downloadydb-b83d01cbfdc83e5af0fc9ff12fbb8da67f587fea.tar.gz
Change priority for rule NonOptimalTableContent (#11625)
-rw-r--r--ydb/library/yql/providers/yt/provider/phy_opt/yql_yt_phy_opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/library/yql/providers/yt/provider/phy_opt/yql_yt_phy_opt.cpp b/ydb/library/yql/providers/yt/provider/phy_opt/yql_yt_phy_opt.cpp
index 0ae1a77a40..b415f69600 100644
--- a/ydb/library/yql/providers/yt/provider/phy_opt/yql_yt_phy_opt.cpp
+++ b/ydb/library/yql/providers/yt/provider/phy_opt/yql_yt_phy_opt.cpp
@@ -56,6 +56,8 @@ TYtPhysicalOptProposalTransformer::TYtPhysicalOptProposalTransformer(TYtState::T
AddHandler(0, &TYtDqWrite::Match, HNDL(YtDqWrite));
AddHandler(0, &TYtDqProcessWrite::Match, HNDL(YtDqProcessWrite));
AddHandler(0, &TYtEquiJoin::Match, HNDL(EarlyMergeJoin));
+ AddHandler(0, &TYtOutputOpBase::Match, HNDL(TableContentWithSettings));
+ AddHandler(0, &TYtOutputOpBase::Match, HNDL(NonOptimalTableContent));
if (!State_->Configuration->DisableFuseOperations.Get().GetOrElse(DEFAULT_DISABLE_FUSE_OPERATIONS)) {
AddHandler(1, &TYtMap::Match, HNDL(FuseInnerMap));
@@ -68,8 +70,6 @@ TYtPhysicalOptProposalTransformer::TYtPhysicalOptProposalTransformer(TYtState::T
AddHandler(1, Names({TYtMap::CallableName(), TYtMapReduce::CallableName()}), HNDL(WeakFields));
AddHandler(1, &TYtTransientOpBase::Match, HNDL(BypassMerge));
AddHandler(1, &TYtPublish::Match, HNDL(BypassMergeBeforePublish));
- AddHandler(1, &TYtOutputOpBase::Match, HNDL(TableContentWithSettings));
- AddHandler(1, &TYtOutputOpBase::Match, HNDL(NonOptimalTableContent));
AddHandler(1, &TCoRight::Match, HNDL(ReadWithSettings));
AddHandler(1, &TYtTransientOpBase::Match, HNDL(PushDownKeyExtract));
AddHandler(1, &TYtTransientOpBase::Match, HNDL(TransientOpWithSettings));