mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fix style
This commit is contained in:
parent
c4713ee34b
commit
eb80dfebf2
@ -636,6 +636,7 @@ bool insliceEqualElements(const NumericArraySlice<T> & first [[maybe_unused]],
|
||||
else
|
||||
return accurate::equalsOp(first.data[first_ind], first.data[second_ind]);
|
||||
}
|
||||
|
||||
inline ALWAYS_INLINE bool insliceEqualElements(const GenericArraySlice & first, size_t first_ind, size_t second_ind)
|
||||
{
|
||||
return first.elements->compareAt(first_ind + first.begin, second_ind + first.begin, *first.elements, -1) == 0;
|
||||
|
@ -32,9 +32,9 @@ namespace DB::GatherUtils
|
||||
|
||||
enum class ArraySearchType
|
||||
{
|
||||
Any, // Corresponds to the hasAny array function
|
||||
All, // Corresponds to the hasAll array function
|
||||
Substr // Corresponds to the hasSubstr array function
|
||||
Any, // Corresponds to the hasAny array function
|
||||
All, // Corresponds to the hasAll array function
|
||||
Substr // Corresponds to the hasSubstr array function
|
||||
};
|
||||
|
||||
std::unique_ptr<IArraySource> createArraySource(const ColumnArray & col, bool is_const, size_t total_rows);
|
||||
|
@ -1,3 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <DataTypes/DataTypeString.h>
|
||||
#include <Columns/ColumnString.h>
|
||||
#include <Columns/ColumnFixedString.h>
|
||||
|
Loading…
Reference in New Issue
Block a user