mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix compilation on Mac.
This commit is contained in:
parent
0b084ba531
commit
ef6b20030c
@ -166,7 +166,7 @@ template <typename T>
|
|||||||
template <typename Type>
|
template <typename Type>
|
||||||
ColumnPtr ColumnDecimal<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
|
ColumnPtr ColumnDecimal<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
|
||||||
{
|
{
|
||||||
size_t size = indexes.size();
|
UInt64 size = indexes.size();
|
||||||
|
|
||||||
if (limit == 0)
|
if (limit == 0)
|
||||||
limit = size;
|
limit = size;
|
||||||
|
@ -275,7 +275,7 @@ template <typename T>
|
|||||||
template <typename Type>
|
template <typename Type>
|
||||||
ColumnPtr ColumnVector<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
|
ColumnPtr ColumnVector<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
|
||||||
{
|
{
|
||||||
size_t size = indexes.size();
|
UInt64 size = indexes.size();
|
||||||
|
|
||||||
if (limit == 0)
|
if (limit == 0)
|
||||||
limit = size;
|
limit = size;
|
||||||
|
@ -99,7 +99,7 @@ public:
|
|||||||
throw Exception("Method deserializeAndInsertFromArena is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method deserializeAndInsertFromArena is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnPtr index(const IColumn &, size_t) const override
|
ColumnPtr index(const IColumn &, UInt64) const override
|
||||||
{
|
{
|
||||||
throw Exception("Method index is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method index is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
@ -114,7 +114,7 @@ public:
|
|||||||
throw Exception("Method filter is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method filter is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnPtr permute(const IColumn::Permutation &, size_t) const override
|
ColumnPtr permute(const IColumn::Permutation &, UInt64) const override
|
||||||
{
|
{
|
||||||
throw Exception("Method permute is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method permute is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
@ -124,7 +124,7 @@ public:
|
|||||||
throw Exception("Method replicate is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method replicate is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void getPermutation(bool, size_t, int, IColumn::Permutation &) const override
|
void getPermutation(bool, UInt64, int, IColumn::Permutation &) const override
|
||||||
{
|
{
|
||||||
throw Exception("Method getPermutation is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method getPermutation is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
@ -185,7 +185,7 @@ public:
|
|||||||
const SelectQueryInfo & /*query_info*/,
|
const SelectQueryInfo & /*query_info*/,
|
||||||
const Context & /*context*/,
|
const Context & /*context*/,
|
||||||
QueryProcessingStage::Enum /*processed_stage*/,
|
QueryProcessingStage::Enum /*processed_stage*/,
|
||||||
size_t /*max_block_size*/,
|
UInt64 /*max_block_size*/,
|
||||||
unsigned /*num_streams*/)
|
unsigned /*num_streams*/)
|
||||||
{
|
{
|
||||||
throw Exception("Method read is not supported by storage " + getName(), ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("Method read is not supported by storage " + getName(), ErrorCodes::NOT_IMPLEMENTED);
|
||||||
|
Loading…
Reference in New Issue
Block a user