mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fixed build issues
This commit is contained in:
parent
8a4d405b26
commit
d5dfd83983
@ -537,11 +537,11 @@ private:
|
|||||||
return updated_value;
|
return updated_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename ValueType>
|
|
||||||
static constexpr bool is_nullable_or_array_type = std::is_same_v<ValueType, Field> || std::is_same_v<ValueType, Array>;
|
|
||||||
|
|
||||||
template<typename ValueType>
|
template<typename ValueType>
|
||||||
using ContainerType = std::conditional_t<is_nullable_or_array_type<ValueType>, std::vector<ValueType>, PaddedPODArray<ValueType>>;
|
using ContainerType = std::conditional_t<
|
||||||
|
std::is_same_v<ValueType, Field> || std::is_same_v<ValueType, Array>,
|
||||||
|
std::vector<ValueType>,
|
||||||
|
PaddedPODArray<ValueType>>;
|
||||||
|
|
||||||
struct Attribute
|
struct Attribute
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ ColumnPtr FlatDictionary::getColumn(
|
|||||||
using ValueType = DictionaryValueType<AttributeType>;
|
using ValueType = DictionaryValueType<AttributeType>;
|
||||||
using ColumnProvider = DictionaryAttributeColumnProvider<AttributeType>;
|
using ColumnProvider = DictionaryAttributeColumnProvider<AttributeType>;
|
||||||
|
|
||||||
const auto attribute_null_value = std::get<ValueType>(attribute.null_values);
|
const auto & attribute_null_value = std::get<ValueType>(attribute.null_values);
|
||||||
AttributeType null_value = static_cast<AttributeType>(attribute_null_value);
|
AttributeType null_value = static_cast<AttributeType>(attribute_null_value);
|
||||||
DictionaryDefaultValueExtractor<AttributeType> default_value_extractor(std::move(null_value), default_values_column);
|
DictionaryDefaultValueExtractor<AttributeType> default_value_extractor(std::move(null_value), default_values_column);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user