Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lgbo-ustc committed Apr 2, 2024
1 parent ff671a1 commit aa4d002
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Interpreters/HashJoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,14 @@ ColumnPtr buildAdditionalFilter(
sample_right_block.dumpNames(),
added_columns.left_block.dumpNames());
}
// Debug
for (const auto & col : executed_block.getColumnsWithTypeAndName())
{
if (!col.column || !col.type)
{
throw Exception(ErrorCodes::LOGICAL_ERROR, "Null column in input block. {}", executed_block.dumpStructure());
}
}
added_columns.additional_filter_expression->execute(executed_block);
return executed_block.getByPosition(0).column;
}
Expand Down

0 comments on commit aa4d002

Please sign in to comment.