429897 {
429898 auto type = deserializer.ReadPropertyWithExplicitDefault<ExtraPersistentColumnDataType>(
429899 100, "type", ExtraPersistentColumnDataType::INVALID);
429900 switch (type) {
429901 case ExtraPersistentColumnDataType::VARIANT: {
429902 auto storage_type =
429903 deserializer.ReadPropertyWithExplicitDefault<LogicalType>(101, "storage_type", LogicalType());
429904 return make_uniq<VariantPersistentColumnData>(storage_type);
429905 }
429906 case ExtraPersistentColumnDataType::GEOMETRY: {
429907 const auto storage_type = deserializer.ReadPropertyWithExplicitDefault<GeometryStorageType>(
429908 101, "storage_type", GeometryStorageType::WKB);
429909 return make_uniq<GeometryPersistentColumnData>(storage_type);
429910 }
429911 default:
429912 throw InternalException("Unknown PersistentColumnData type");
429913 }
429914}