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

Function GetArrowField

cpp/src/arrow/adapters/orc/util.cc:1220–1225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218}
1219
1220Result<std::shared_ptr<Field>> GetArrowField(const std::string& name,
1221 const liborc::Type* type, bool nullable) {
1222 ARROW_ASSIGN_OR_RAISE(auto arrow_type, GetArrowType(type));
1223 ARROW_ASSIGN_OR_RAISE(auto metadata, GetFieldMetadata(type));
1224 return field(name, std::move(arrow_type), nullable, std::move(metadata));
1225}
1226
1227int GetOrcMajorVersion() {
1228 std::stringstream orc_version(ORC_VERSION);

Callers

nothing calls this directly

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected