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

Function makeNullable

src/DataTypes/DataTypeNullable.cpp:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118DataTypePtr makeNullable(const DataTypePtr & type)
119{
120 if (type->isNullable())
121 return type;
122 return std::make_shared<DataTypeNullable>(type);
123}
124
125DataTypePtr removeNullable(const DataTypePtr & type)
126{

Callers 4

getDataTypeByColumnFunction · 0.70

Calls 1

isNullableMethod · 0.45

Tested by

no test coverage detected