From c6df1b09c6e806fd577a339d263acde1ce15a758 Mon Sep 17 00:00:00 2001 From: vdimir Date: Wed, 20 Nov 2024 15:55:42 +0000 Subject: [PATCH] fx --- src/Interpreters/HashJoin/HashJoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/HashJoin/HashJoin.cpp b/src/Interpreters/HashJoin/HashJoin.cpp index b7355f72161..db6dd58f282 100644 --- a/src/Interpreters/HashJoin/HashJoin.cpp +++ b/src/Interpreters/HashJoin/HashJoin.cpp @@ -438,7 +438,7 @@ bool HashJoin::isUsedByAnotherAlgorithm() const bool HashJoin::canRemoveColumnsFromLeftBlock() const { - return table_join->enableEnalyzer() && !table_join->hasUsing() && !isUsedByAnotherAlgorithm(); + return table_join->enableEnalyzer() && !table_join->hasUsing() && !isUsedByAnotherAlgorithm() && strictness != JoinStrictness::RightAny; } void HashJoin::initRightBlockStructure(Block & saved_block_sample)