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

Method SetUp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

mapFunction · 0.85
MakeBuilderFunction · 0.70

Tested by

no test coverage detected