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