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

Function castBothTypes

src/Functions/FunctionsConversion.cpp:2777–2780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775
2776template <typename F>
2777bool castBothTypes(const IDataType * left, const IDataType * right, F && f)
2778{
2779 return castType(left, [&](const auto & left_) { return castType(right, [&](const auto & right_) { return f(left_, right_); }); });
2780}
2781
2782bool convertIsCompilableImpl(const DataTypes & types, const DataTypePtr & result_type)
2783{

Callers 11

isCompilableImplMethod · 0.85
compileImplMethod · 0.85
convertIsCompilableImplFunction · 0.85
convertCompileImplFunction · 0.85
isCompilableMethod · 0.85
compileMethod · 0.85
executeImpl2Method · 0.85
isCompilableImplMethod · 0.85
compileImplMethod · 0.85
executeImplMethod · 0.85

Calls 2

castTypeFunction · 0.85
fFunction · 0.50

Tested by

no test coverage detected