Skip to content

Commit 419b953

Browse files
authored
grace_join: redesign to improve LEFT JOIN with short left side (#8146)
1 parent 10af6ea commit 419b953

File tree

3 files changed

+123
-433
lines changed

3 files changed

+123
-433
lines changed

ydb/library/yql/minikql/comp_nodes/mkql_grace_join.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class TGraceJoinSpillingSupportState : public TComputationValue<TGraceJoinSpilli
589589
, IsSpillingAllowed(isSpillingAllowed)
590590
{
591591
YQL_LOG(GRACEJOIN_DEBUG) << (const void *)&*JoinedTablePtr << "# AnyJoinSettings=" << (int)anyJoinSettings << " JoinKind=" << (int)joinKind;
592-
if (JoinKind == EJoinKind::Full || JoinKind == EJoinKind::Exclusion || IsSelfJoin_) {
592+
if (IsSelfJoin_) {
593593
LeftPacker->BatchSize = std::numeric_limits<ui64>::max();
594594
RightPacker->BatchSize = std::numeric_limits<ui64>::max();
595595
}

0 commit comments

Comments
 (0)