MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / makeSimpleCsrIndptrSchema

Function makeSimpleCsrIndptrSchema

test/api/arrow_error_scenarios_test.cpp:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98ArrowSchemaWrapper makeSimpleCsrIndptrSchema(bool uint64Child0 = true) {
99 ArrowSchemaWrapper schema;
100 createStructSchema(&schema, 1);
101 if (uint64Child0) {
102 createSchema<uint64_t>(schema.children[0], "v");
103 } else {
104 createSchema<int64_t>(schema.children[0], "v");
105 }
106 return schema;
107}
108
109std::vector<ArrowArrayWrapper> makeSimpleCsrIndices() {
110 std::vector<ArrowArrayWrapper> arrays;

Callers 1

TEST_FFunction · 0.85

Calls 1

createStructSchemaFunction · 0.85

Tested by

no test coverage detected