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

Function BuildZeroBaseBinaryArray

cpp/src/arrow/acero/asof_join_node_test.cc:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158
159template <typename Builder>
160void BuildZeroBaseBinaryArray(std::shared_ptr<Array>& empty, int64_t length) {
161 Builder builder(default_memory_pool());
162 ASSERT_OK(builder.Reserve(length));
163 for (int64_t i = 0; i < length; i++) {
164 ASSERT_OK(builder.Append("0", /*length=*/1));
165 }
166 ASSERT_OK(builder.Finish(&empty));
167}
168
169AsofJoinNodeOptions GetRepeatedOptions(size_t repeat, FieldRef on_key,
170 std::vector<FieldRef> by_key, int64_t tolerance) {

Callers

nothing calls this directly

Calls 4

default_memory_poolFunction · 0.85
ReserveMethod · 0.45
AppendMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected