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

Method CanReferenceFieldByName

cpp/src/arrow/array/array_nested.cc:1162–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1160}
1161
1162Status StructArray::CanReferenceFieldByName(const std::string& name) const {
1163 if (GetFieldByName(name) == nullptr) {
1164 return Status::Invalid("Field named '", name,
1165 "' not found or not unique in the struct.");
1166 }
1167 return Status::OK();
1168}
1169
1170Status StructArray::CanReferenceFieldsByNames(
1171 const std::vector<std::string>& names) const {

Callers 1

TESTFunction · 0.45

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by 1

TESTFunction · 0.36