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

Method SetUp

cpp/src/arrow/array/array_list_test.cc:1072–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070 using OffsetType = typename TypeTraits<MapType>::OffsetType;
1071
1072 void SetUp() {
1073 key_type_ = utf8();
1074 value_type_ = int32();
1075 type_ = map(key_type_, value_type_);
1076
1077 std::unique_ptr<ArrayBuilder> tmp;
1078 ASSERT_OK(MakeBuilder(pool_, type_, &tmp));
1079 builder_ = checked_pointer_cast<MapBuilder>(std::move(tmp));
1080 }
1081
1082 void Done() {
1083 std::shared_ptr<Array> out;

Callers

nothing calls this directly

Calls 2

mapFunction · 0.85
MakeBuilderFunction · 0.70

Tested by

no test coverage detected