mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
added IColumn::select
This commit is contained in:
parent
97fbd37cb0
commit
ba0a5af437
@ -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; }
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user