mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update src/Interpreters/getCustomKeyFilterForParallelReplicas.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
parent
e3e5f304b9
commit
e495bf0742
@ -47,8 +47,7 @@ ASTPtr getCustomKeyFilterForParallelReplica(
|
||||
|
||||
using RelativeSize = boost::rational<ASTSampleRatio::BigNum>;
|
||||
|
||||
RelativeSize range_upper = filter.range_upper > 0 ? RelativeSize(filter.range_upper) + RelativeSize(1)
|
||||
: RelativeSize(std::numeric_limits<UInt32>::max()) + RelativeSize(1);
|
||||
RelativeSize range_upper = 0;
|
||||
RelativeSize range_lower = RelativeSize(filter.range_lower);
|
||||
DataTypePtr custom_key_column_type = custom_key_description.data_types[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user