mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
Fix conflicts
This commit is contained in:
parent
5444cde408
commit
3dcc2056a5
@ -54,6 +54,7 @@ const std::set<SubstreamType> ISerialization::Substream::named_types
|
||||
TupleElement,
|
||||
NamedOffsets,
|
||||
NamedNullMap,
|
||||
NamedVariantDiscriminators,
|
||||
};
|
||||
|
||||
String ISerialization::Substream::toString() const
|
||||
|
@ -155,6 +155,7 @@ public:
|
||||
ObjectData,
|
||||
|
||||
VariantDiscriminators,
|
||||
NamedVariantDiscriminators,
|
||||
VariantOffsets,
|
||||
VariantElements,
|
||||
VariantElement,
|
||||
|
@ -36,7 +36,7 @@ void SerializationVariant::enumerateStreams(
|
||||
const auto * type_variant = data.type ? &assert_cast<const DataTypeVariant &>(*data.type) : nullptr;
|
||||
const auto * column_variant = data.column ? &assert_cast<const ColumnVariant &>(*data.column) : nullptr;
|
||||
|
||||
auto discriminators_serialization = std::make_shared<SerializationNamed>(std::make_shared<SerializationNumber<ColumnVariant::Discriminator>>(), "discr", false);
|
||||
auto discriminators_serialization = std::make_shared<SerializationNamed>(std::make_shared<SerializationNumber<ColumnVariant::Discriminator>>(), "discr", SubstreamType::NamedVariantDiscriminators);
|
||||
auto local_discriminators = column_variant ? column_variant->getLocalDiscriminatorsPtr() : nullptr;
|
||||
|
||||
settings.path.push_back(Substream::VariantDiscriminators);
|
||||
|
Loading…
Reference in New Issue
Block a user