dbms: fixed build [#METR-17000].

This commit is contained in:
Alexey Milovidov 2015-12-01 20:08:33 +03:00
parent 8844334423
commit 7c753e1403

View File

@ -91,9 +91,10 @@ int main(int argc, char ** argv)
sample.insert(col);
}
Aggregator::Params params(key_column_names, aggregate_descriptions, false);
BlockInputStreamPtr stream = new OneBlockInputStream(block);
stream = new AggregatingBlockInputStream(stream, key_column_names, aggregate_descriptions, false, true,
0, OverflowMode::THROW, nullptr, 0, 0);
stream = new AggregatingBlockInputStream(stream, params, true);
WriteBufferFromOStream ob(std::cout);
RowOutputStreamPtr row_out = new TabSeparatedRowOutputStream(ob, sample);