Skip to content

Commit

Permalink
grace_join: redesign to improve LEFT JOIN with short left side (ydb-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
yumkam authored Aug 28, 2024
1 parent 10af6ea commit 419b953
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 433 deletions.
2 changes: 1 addition & 1 deletion ydb/library/yql/minikql/comp_nodes/mkql_grace_join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class TGraceJoinSpillingSupportState : public TComputationValue<TGraceJoinSpilli
, IsSpillingAllowed(isSpillingAllowed)
{
YQL_LOG(GRACEJOIN_DEBUG) << (const void *)&*JoinedTablePtr << "# AnyJoinSettings=" << (int)anyJoinSettings << " JoinKind=" << (int)joinKind;
if (JoinKind == EJoinKind::Full || JoinKind == EJoinKind::Exclusion || IsSelfJoin_) {
if (IsSelfJoin_) {
LeftPacker->BatchSize = std::numeric_limits<ui64>::max();
RightPacker->BatchSize = std::numeric_limits<ui64>::max();
}
Expand Down
Loading

0 comments on commit 419b953

Please sign in to comment.