Update AggregatingTransform.cpp

This commit is contained in:
alexey-milovidov 2020-01-25 23:36:12 +03:00 committed by GitHub
parent 1bf614b3a2
commit 328dc523c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,8 @@ namespace ProfileEvents
namespace DB
{
namespace
{
/// Convert block to chunk.
/// Adds additional info about aggregation.
static Chunk convertToChunk(const Block & block)
@ -43,8 +45,6 @@ static const AggregatedChunkInfo * getInfoFromChunk(const Chunk & chunk)
return agg_info;
}
namespace
{
/// Reads chunks from file in native format. Provide chunks with aggregation info.
class SourceFromNativeStream : public ISource
{