added IColumn::select

This commit is contained in:
Nikolai Kochetov 2018-04-23 19:59:11 +03:00
parent 4aaf56d9a2
commit 8470a091bb
2 changed files with 5 additions and 1 deletions

View File

@ -657,7 +657,7 @@ ColumnPtr ColumnArray::indexImpl(const PaddedPODArray<T> & indexes, size_t limit
}
if (current_offset != 0)
res->data = data->index(nested_indexes_column, current_offset);
res->data = data->index(std::move(nested_indexes_column), current_offset);
return std::move(res);
}

View File

@ -322,9 +322,13 @@ namespace detail
return nullptr;
}
template <>
const PaddedPODArray<UInt8> * getIndexesData<UInt8>(const DB::ColumnPtr & indexes);
template <>
const PaddedPODArray<UInt16> * getIndexesData<UInt16>(const DB::ColumnPtr & indexes);
template <>
const PaddedPODArray<UInt32> * getIndexesData<UInt32>(const DB::ColumnPtr & indexes);
template <>
const PaddedPODArray<UInt64> * getIndexesData<UInt64>(const DB::ColumnPtr & indexes);
}