1#include "GatherUtils.h"
2#include "Selectors.h"
3#include "Algorithms.h"
4
5namespace DB::GatherUtils
6{
7struct SliceFromLeftConstantOffsetUnboundedSelectArraySource
8 : public ArraySinkSourceSelector<SliceFromLeftConstantOffsetUnboundedSelectArraySource>
9{
10 template <typename Source, typename Sink>
11 static void selectSourceSink(Source && source, Sink && sink, size_t & offset)
12 {
13 sliceFromLeftConstantOffsetUnbounded(source, sink, offset);
14 }
15};
16
17void sliceFromLeftConstantOffsetUnbounded(IArraySource & src, IArraySink & sink, size_t offset)
18{
19 SliceFromLeftConstantOffsetUnboundedSelectArraySource::select(src, sink, offset);
20}
21}
22