MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / makeNullable

Function makeNullable

src/DataTypes/DataTypeNullable.cpp:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225DataTypePtr makeNullable(const DataTypePtr & type)
226{
227 if (type->isNullable())
228 return type;
229 return std::make_shared<DataTypeNullable>(type);
230}
231
232DataTypePtr makeNullableSafe(const DataTypePtr & type)
233{

Callers 11

flattenTupleFunction · 0.70
makeNullableSafeFunction · 0.70
tryGetTableMetadataMethod · 0.50
getTypeFunction · 0.50
TESTFunction · 0.50

Calls 1

isNullableMethod · 0.45

Tested by 2

TESTFunction · 0.40