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

Function removeNullable

src/DataTypes/DataTypeNullable.cpp:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239DataTypePtr removeNullable(const DataTypePtr & type)
240{
241 if (type->isNullable())
242 return static_cast<const DataTypeNullable &>(*type).getNestedType();
243 return type;
244}
245
246DataTypePtr makeNullableOrLowCardinalityNullable(const DataTypePtr & type)
247{

Callers 15

flattenTupleTypeImplFunction · 0.70
flattenTupleColumnImplFunction · 0.70
flattenTupleFunction · 0.70
nativeBoolCastFunction · 0.70
nativeCastFunction · 0.70
canBeSafelyCastFunction · 0.70
getAttributesMethod · 0.50
getColumnMethod · 0.50

Calls 2

getNestedTypeMethod · 0.80
isNullableMethod · 0.45

Tested by 1

TESTFunction · 0.40