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

Function makeNullableSafe

src/DataTypes/DataTypeNullable.cpp:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232DataTypePtr makeNullableSafe(const DataTypePtr & type)
233{
234 if (type->canBeInsideNullable())
235 return makeNullable(type);
236 return type;
237}
238
239DataTypePtr removeNullable(const DataTypePtr & type)
240{

Callers 2

createMethod · 0.70

Calls 2

makeNullableFunction · 0.70
canBeInsideNullableMethod · 0.45

Tested by

no test coverage detected