1#include <Interpreters/sortBlock.h>
2
3#include <DataStreams/PartialSortingBlockInputStream.h>
4
5
6namespace DB
7{
8
9
10Block PartialSortingBlockInputStream::readImpl()
11{
12 Block res = children.back()->read();
13 sortBlock(res, description, limit);
14 return res;
15}
16
17
18}
19