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

Function tryConvertTypeToNullable

src/Interpreters/join_common.cpp:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106
107DataTypePtr tryConvertTypeToNullable(const DataTypePtr & type)
108{
109 if (canBecomeNullable(type))
110 return convertTypeToNullable(type);
111 return type;
112}
113
114DataTypePtr removeTypeNullability(const DataTypePtr & type)
115{

Callers 9

applyMethod · 0.85
visitOrdinaryFunctionMethod · 0.85
visitASTFunctionMethod · 0.85
visitUnionNodeMethod · 0.85
visitJoinNodeMethod · 0.85
transformImplMethod · 0.85
getAssignmentDataTypeMethod · 0.85
visitASTSubqueryMethod · 0.85

Calls 2

canBecomeNullableFunction · 0.85
convertTypeToNullableFunction · 0.85

Tested by

no test coverage detected