mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Fix TotalsHavingTransform.
This commit is contained in:
parent
6ed86dfeb4
commit
a9709f846e
@ -25,10 +25,11 @@ static Chunk finalizeChunk(Chunk chunk)
|
||||
|
||||
static Block createOutputHeader(Block block, const ExpressionActionsPtr & expression)
|
||||
{
|
||||
finalizeBlock(block);
|
||||
|
||||
if (expression)
|
||||
expression->execute(block);
|
||||
|
||||
finalizeBlock(block);
|
||||
return block;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user