mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update arrayConcat
This commit is contained in:
parent
e94b814606
commit
d362ced0b5
@ -21,7 +21,7 @@ struct ArrayConcat : public ArraySinkSelector<ArrayConcat>
|
||||
using Sources = std::vector<std::unique_ptr<IArraySource>>;
|
||||
|
||||
template <typename Source>
|
||||
static void selectImpl(Source &&, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
static void selectImpl(Source && source, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
{
|
||||
using SourceType = typename std::decay<Source>::type;
|
||||
using Sink = typename SourceType::SinkType;
|
||||
@ -32,7 +32,7 @@ struct ArrayConcat : public ArraySinkSelector<ArrayConcat>
|
||||
}
|
||||
|
||||
template <typename Source>
|
||||
static void selectImpl(ConstSource<Source> &&, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
static void selectImpl(ConstSource<Source> && source, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
{
|
||||
using SourceType = typename std::decay<Source>::type;
|
||||
using Sink = typename SourceType::SinkType;
|
||||
@ -43,7 +43,7 @@ struct ArrayConcat : public ArraySinkSelector<ArrayConcat>
|
||||
}
|
||||
|
||||
template <typename Source>
|
||||
static void selectImpl(ConstSource<Source> &, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
static void selectImpl(ConstSource<Source> & source, const Sources & sources, ColumnArray::MutablePtr & result)
|
||||
{
|
||||
using SourceType = typename std::decay<Source>::type;
|
||||
using Sink = typename SourceType::SinkType;
|
||||
|
Loading…
Reference in New Issue
Block a user