Skip to content

Commit c5406fc

Browse files
committed
Fix tests
1 parent 1c6c798 commit c5406fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Processors/QueryPlan/JoinStepLogical.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,8 @@ static void constructPhysicalStep(
924924
node.step = std::make_unique<FilledJoinStep>(join_left_node->step->getOutputHeader(), join_ptr, join_settings.max_block_size);
925925
node.step->setStepDescription("Filled JOIN");
926926

927-
makeExpressionNodeOnTopOf(node, std::move(right_after_join_actions), nodes, makeDescription("Right Type Conversion Actions"));
927+
if (!right_after_join_actions.getNodes().empty())
928+
makeExpressionNodeOnTopOf(node, std::move(right_after_join_actions), nodes, makeDescription("Right Type Conversion Actions"));
928929

929930
post_join_actions.appendInputsForUnusedColumns(*node.step->getOutputHeader());
930931
makeFilterNodeOnTopOf(

0 commit comments

Comments
 (0)