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

Function CastImpl

cpp/src/arrow/scalar.cc:1095–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1093// error fallback
1094template <typename To>
1095Result<std::shared_ptr<Scalar>> CastImpl(const Scalar& from,
1096 std::shared_ptr<DataType> to_type) {
1097 return Status::NotImplemented("casting scalars of type ", *from.type, " to type ",
1098 *to_type);
1099}
1100
1101// numeric to numeric
1102template <typename To, typename From>

Callers

nothing calls this directly

Calls 14

FormatToBufferFunction · 0.85
FromStringFunction · 0.85
strMethod · 0.80
NotImplementedFunction · 0.70
InvalidFunction · 0.70
getMethod · 0.45
sizeMethod · 0.45
nameMethod · 0.45
fieldMethod · 0.45
ToStringMethod · 0.45
typeMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected