MCPcopy Create free account
hub / github.com/apache/arrow / CastableToDecimal

Function CastableToDecimal

cpp/src/arrow/compute/kernels/codegen_internal.cc:396–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396bool CastableToDecimal(const DataType& type) {
397 return is_numeric(type.id()) || is_decimal(type.id());
398}
399
400Status CastBinaryDecimalArgs(DecimalPromotion promotion, std::vector<TypeHolder>* types) {
401 const DataType& left_type = *(*types)[0];

Callers 1

CastBinaryDecimalArgsFunction · 0.85

Calls 3

is_numericFunction · 0.85
is_decimalFunction · 0.50
idMethod · 0.45

Tested by

no test coverage detected