mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
fix test
This commit is contained in:
parent
41145c4e35
commit
0d17af82ac
@ -221,10 +221,7 @@ void MergeTreeBaseBlockInputStream::executePrewhereActions(Block & block) const
|
||||
{
|
||||
if (prewhere_actions)
|
||||
{
|
||||
bool had_prewhere_column = block.has(prewhere_column_name);
|
||||
prewhere_actions->execute(block);
|
||||
if (!had_prewhere_column)
|
||||
block.erase(prewhere_column_name);
|
||||
|
||||
if (block.columns() == 0)
|
||||
block.insert({nullptr, std::make_shared<DataTypeNothing>(), "_nothing"});
|
||||
|
Loading…
Reference in New Issue
Block a user