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

Function PopulateLeaf

cpp/src/parquet/arrow/schema.cc:566–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564 SchemaField* out);
565
566Status PopulateLeaf(int column_index, const std::shared_ptr<Field>& field,
567 LevelInfo current_levels, SchemaTreeContext* ctx,
568 const SchemaField* parent, SchemaField* out) {
569 out->field = field;
570 out->column_index = column_index;
571 out->level_info = current_levels;
572 ctx->RecordLeaf(out);
573 ctx->LinkParent(out, parent);
574 return Status::OK();
575}
576
577// Special case mentioned in the format spec:
578// If the name is array or uses the parent's name with `_tuple` appended,

Callers 2

ResolveListFunction · 0.85
NodeToSchemaFieldFunction · 0.85

Calls 3

RecordLeafMethod · 0.80
LinkParentMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected