mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
3de5e465d0
* Split GatherUtils.cpp for faster compile * remove GatherUtils.cpp
21 lines
615 B
C++
21 lines
615 B
C++
#include "GatherUtils.h"
|
|
#include "GatherUtils_selectors.h"
|
|
|
|
namespace DB
|
|
{
|
|
struct SliceDynamicOffsetUnboundedSelectArraySource : public ArraySinkSourceSelector<SliceDynamicOffsetUnboundedSelectArraySource>
|
|
{
|
|
template <typename Source, typename Sink>
|
|
static void selectSourceSink(Source && source, Sink && sink, IColumn & offset_column)
|
|
{
|
|
sliceDynamicOffsetUnbounded(source, sink, offset_column);
|
|
}
|
|
};
|
|
|
|
|
|
void sliceDynamicOffsetUnbounded(IArraySource & src, IArraySink & sink, IColumn & offset_column)
|
|
{
|
|
SliceDynamicOffsetUnboundedSelectArraySource::select(src, sink, offset_column);
|
|
}
|
|
}
|