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

Function isUInt64ThatCanBeInt64

src/DataTypes/DataTypesNumber.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool isUInt64ThatCanBeInt64(const DataTypePtr & type)
39{
40 const DataTypeUInt64 * uint64_type = typeid_cast<const DataTypeUInt64 *>(type.get());
41 return uint64_type && uint64_type->canUnsignedBeSigned();
42}
43
44
45void registerDataTypeNumbers(DataTypeFactory & factory)

Callers 1

executeImplMethod · 0.85

Calls 2

canUnsignedBeSignedMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected