mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
let Style Check happy
This commit is contained in:
parent
4f146eaa7e
commit
09edfaf49c
@ -461,7 +461,7 @@ public:
|
||||
UInt64 rb_range(UInt32 range_start, UInt32 range_end, RoaringBitmapWithSmallSet& r1) const
|
||||
{
|
||||
UInt64 count = 0;
|
||||
if(range_start >= range_end)
|
||||
if (range_start >= range_end)
|
||||
return count;
|
||||
if (isSmall())
|
||||
{
|
||||
@ -469,7 +469,8 @@ public:
|
||||
for (const auto & x : small)
|
||||
{
|
||||
T val = x.getValue();
|
||||
if((UInt32)val >= range_start && (UInt32)val < range_end) {
|
||||
if ((UInt32)val >= range_start && (UInt32)val < range_end)
|
||||
{
|
||||
r1.add(val);
|
||||
count++;
|
||||
}
|
||||
@ -482,7 +483,7 @@ public:
|
||||
roaring_move_uint32_iterator_equalorlarger(&iterator, range_start);
|
||||
while (iterator.has_value)
|
||||
{
|
||||
if((UInt32)iterator.current_value >= range_end)
|
||||
if ((UInt32)iterator.current_value >= range_end)
|
||||
break;
|
||||
r1.add(iterator.current_value);
|
||||
roaring_advance_uint32_iterator(&iterator);
|
||||
|
@ -318,9 +318,12 @@ private:
|
||||
columns[i] = block.getByPosition(arguments[i]).column.get();
|
||||
is_column_const[i] = isColumnConst(*columns[i]);
|
||||
}
|
||||
if (is_column_const[0]) {
|
||||
if (is_column_const[0])
|
||||
{
|
||||
colAggFunc = typeid_cast<const ColumnAggregateFunction*>(typeid_cast<const ColumnConst*>(columns[0])->getDataColumnPtr().get());
|
||||
} else{
|
||||
}
|
||||
else
|
||||
{
|
||||
colAggFunc = typeid_cast<const ColumnAggregateFunction*>(columns[0]);
|
||||
}
|
||||
container0 = &colAggFunc->getData();
|
||||
|
Loading…
Reference in New Issue
Block a user