mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
More resize
This commit is contained in:
parent
47fcd8bffb
commit
ca7a5ccd0d
@ -122,8 +122,7 @@ void DelayedSource::work()
|
||||
return;
|
||||
}
|
||||
|
||||
if (pipe.numOutputPorts() > 1)
|
||||
pipe.addTransform(std::make_shared<ResizeProcessor>(header, pipe.numOutputPorts(), 1));
|
||||
pipe.resize(1);
|
||||
|
||||
main_output = pipe.getOutputPort(0);
|
||||
totals_output = pipe.getTotalsPort();
|
||||
|
@ -511,7 +511,7 @@ void addMergingAggregatedMemoryEfficientTransform(
|
||||
/// --> GroupingAggregated --> ResizeProcessor --> MergingAggregatedBucket --> SortingAggregated -->
|
||||
/// --> --> MergingAggregatedBucket -->
|
||||
|
||||
pipe.addTransform(std::make_shared<ResizeProcessor>(Block(), 1, num_merging_processors));
|
||||
pipe.resize(num_merging_processors);
|
||||
|
||||
pipe.addSimpleTransform([params](const Block &)
|
||||
{
|
||||
|
@ -21,7 +21,6 @@ namespace DB
|
||||
*/
|
||||
class StorageMemory final : public ext::shared_ptr_helper<StorageMemory>, public IStorage
|
||||
{
|
||||
friend class MemoryBlockInputStream;
|
||||
friend class MemoryBlockOutputStream;
|
||||
friend struct ext::shared_ptr_helper<StorageMemory>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user