mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #11366 from ClickHouse/fix-SortingTransform-bug
Fix sorting transform bug
This commit is contained in:
commit
8bf8b44510
@ -285,7 +285,9 @@ IProcessor::Status SortingTransform::prepareGenerate()
|
||||
|
||||
if (output.isFinished())
|
||||
{
|
||||
inputs.front().close();
|
||||
for (auto & input : inputs)
|
||||
input.close();
|
||||
|
||||
return Status::Finished;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
SELECT number FROM (SELECT number FROM system.numbers LIMIT 999990) ORDER BY number ASC LIMIT 100, 65535 SETTINGS max_bytes_before_external_sort = 1000000 format Null
|
Loading…
Reference in New Issue
Block a user