mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
Fix compilation
This commit is contained in:
parent
4f6c880232
commit
ff5ce1a5ae
@ -470,7 +470,7 @@ void MergeTreeRangeReader::ReadResult::addFilter(const ColumnPtr & new_filter)
|
||||
{
|
||||
FilterDescription description(*new_filter);
|
||||
auto new_holder = (description.data_holder ? description.data_holder : new_filter);
|
||||
auto * new_holder_cast = typeid_cast<const ColumnUInt8 *>(new_holder.get());
|
||||
const auto * new_holder_cast = typeid_cast<const ColumnUInt8 *>(new_holder.get());
|
||||
|
||||
if (!new_holder_cast)
|
||||
throw Exception("addFilter function expected ColumnUInt8.", ErrorCodes::LOGICAL_ERROR);
|
||||
|
Loading…
Reference in New Issue
Block a user