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

Function MakeBasicBatches

cpp/src/arrow/acero/test_util_internal.cc:255–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255BatchesWithSchema MakeBasicBatches() {
256 BatchesWithSchema out;
257 out.batches = {
258 ExecBatchFromJSON({int32(), boolean()}, "[[null, true], [4, false]]"),
259 ExecBatchFromJSON({int32(), boolean()}, "[[5, null], [6, false], [7, false]]")};
260 out.schema = schema({field("i32", int32()), field("bool", boolean())});
261 return out;
262}
263
264BatchesWithSchema MakeNestedBatches() {
265 auto ty = struct_({field("i32", int32()), field("bool", boolean())});

Callers 5

TESTFunction · 0.70
TestSourceSinkErrorFunction · 0.70
TestSourceSinkFunction · 0.70

Calls 3

ExecBatchFromJSONFunction · 0.85
schemaFunction · 0.50
fieldFunction · 0.50

Tested by

no test coverage detected