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

Function PopulateLeaf

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

Source from the content-addressed store, hash-verified

567 SchemaField* out);
568
569Status PopulateLeaf(int column_index, const std::shared_ptr<Field>& field,
570 LevelInfo current_levels, SchemaTreeContext* ctx,
571 const SchemaField* parent, SchemaField* out) {
572 out->field = field;
573 out->column_index = column_index;
574 out->level_info = current_levels;
575 ctx->RecordLeaf(out);
576 ctx->LinkParent(out, parent);
577 return Status::OK();
578}
579
580// Special case mentioned in the format spec:
581// 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