mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 19:20:52 +00:00
Fix ISimpleTransform.
This commit is contained in:
parent
fa5bc611ae
commit
ebbfd4994f
@ -32,7 +32,6 @@ ISimpleTransform::Status ISimpleTransform::prepare()
|
||||
if (transformed)
|
||||
{
|
||||
output.push(std::move(current_chunk));
|
||||
has_input = false;
|
||||
transformed = false;
|
||||
}
|
||||
|
||||
@ -72,6 +71,7 @@ ISimpleTransform::Status ISimpleTransform::prepare()
|
||||
void ISimpleTransform::work()
|
||||
{
|
||||
transform(current_chunk);
|
||||
has_input = false;
|
||||
|
||||
if (!skip_empty_chunks || current_chunk)
|
||||
transformed = true;
|
||||
|
Loading…
Reference in New Issue
Block a user