added IColumn::select

This commit is contained in:
Nikolai Kochetov 2018-05-03 15:51:26 +03:00
parent 97fbd37cb0
commit ba0a5af437
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ public:
const IColumn * getIndexes() const { return indexes.get(); }
const ColumnPtr & getIndexesPtr() const { return indexes; }
void setIndexes(MutableColumnPtr && indexes_) { indexes = indexes_; }
void setIndexes(MutableColumnPtr && indexes_) { indexes = std::move(indexes_); }
bool withDictionary() const override { return true; }

View File

@ -312,7 +312,7 @@ void PreparedFunctionImpl::execute(Block & block, const ColumnNumbers & args, si
throw Exception("Expected ColumnWithDictionary, got" + res_col.column->getName(),
ErrorCodes::LOGICAL_ERROR);
ColumnWithDictionary & mut_col_with_dict = col_with_dict->assumeMutableRef();
auto & mut_col_with_dict = static_cast<ColumnWithDictionary &>(*col_with_dict);
if (indexes)
{