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

Method FillListLike

cpp/src/arrow/c/bridge_test.cc:1860–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1858 void FillDictionary(struct ArrowSchema* c) { c->dictionary = LastChild(c); }
1859
1860 void FillListLike(struct ArrowSchema* c, const char* format, const char* name = nullptr,
1861 int64_t flags = kDefaultFlags) {
1862 c->flags = flags;
1863 c->format = format;
1864 c->name = name;
1865 c->n_children = 1;
1866 c->children = NLastChildren(1, c);
1867 c->children[0]->name = "item";
1868 }
1869
1870 void FillStructLike(struct ArrowSchema* c, const char* format, int64_t n_children,
1871 const char* name = nullptr, int64_t flags = kDefaultFlags) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected