mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fixed build #1853
This commit is contained in:
parent
5a03f9e0fb
commit
777b4404bd
@ -505,7 +505,7 @@ void Set::executeArray(const ColumnArray * key_column, ColumnUInt8::Container &
|
||||
}
|
||||
}
|
||||
|
||||
bool MergeTreeSetIndex::PKTuplePositionMapping::operator<(const PKTuplePositionMapping & other)
|
||||
bool MergeTreeSetIndex::PKTuplePositionMapping::operator< (const PKTuplePositionMapping & other) const
|
||||
{
|
||||
return std::forward_as_tuple(pk_index, tuple_index) < std::forward_as_tuple(other.pk_index, other.tuple_index);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace DB
|
||||
{
|
||||
|
||||
struct Range;
|
||||
struct FieldWithInfinity;
|
||||
class FieldWithInfinity;
|
||||
|
||||
using SetElements = std::vector<std::vector<Field>>;
|
||||
using SetElementsPtr = std::unique_ptr<SetElements>;
|
||||
@ -176,7 +176,7 @@ public:
|
||||
std::vector<FunctionPtr> functions;
|
||||
DataTypePtr data_type;
|
||||
|
||||
bool operator<(const PKTuplePositionMapping & other);
|
||||
bool operator< (const PKTuplePositionMapping & other) const;
|
||||
};
|
||||
|
||||
MergeTreeSetIndex(const SetElements & set_elements, std::vector<PKTuplePositionMapping> && indexes_mapping_);
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <sstream>
|
||||
#include <optional>
|
||||
|
||||
#include <Interpreters/Context.h>
|
||||
#include <Interpreters/ExpressionActions.h>
|
||||
@ -186,7 +187,8 @@ public:
|
||||
};
|
||||
|
||||
/// Class that extends arbitrary objects with infinities, like +-inf for floats
|
||||
class FieldWithInfinity {
|
||||
class FieldWithInfinity
|
||||
{
|
||||
public:
|
||||
enum Type {
|
||||
MINUS_INFINITY = -1,
|
||||
@ -201,8 +203,8 @@ public:
|
||||
static FieldWithInfinity getPlusinfinity();
|
||||
|
||||
bool operator<(const FieldWithInfinity & other) const;
|
||||
|
||||
bool operator==(const FieldWithInfinity & other) const;
|
||||
|
||||
private:
|
||||
Field field;
|
||||
Type type;
|
||||
|
Loading…
Reference in New Issue
Block a user