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

Function StructScalar__GetFieldByName

r/src/scalar.cpp:55–58  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

53
54// [[arrow::export]]
55std::shared_ptr<arrow::Scalar> StructScalar__GetFieldByName(
56 const std::shared_ptr<arrow::StructScalar>& s, const std::string& name) {
57 return ValueOrStop(s->field(name));
58}
59
60// [[arrow::export]]
61std::shared_ptr<arrow::Array> MakeArrayFromScalar(

Callers 1

Calls 2

ValueOrStopFunction · 0.85
fieldMethod · 0.45

Tested by

no test coverage detected