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

Function dense_union

cpp/src/arrow/type.cc:3284–3290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3282 std::move(type_codes));
3283}
3284std::shared_ptr<DataType> dense_union(FieldVector child_fields,
3285 std::vector<int8_t> type_codes) {
3286 if (type_codes.empty()) {
3287 type_codes = internal::Iota<int8_t>(0, child_fields.size());
3288 }
3289 return std::make_shared<DenseUnionType>(std::move(child_fields), std::move(type_codes));
3290}
3291
3292namespace {
3293

Callers 15

TestSessionFunction · 0.85
MakeFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
MakeStatisticsArrayMethod · 0.85
MakeStatisticsArrayFunction · 0.85
TESTFunction · 0.85
GetMemberIntFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
server.ccFile · 0.85

Calls 3

FieldsFromArraysAndNamesFunction · 0.85
emptyMethod · 0.45
sizeMethod · 0.45

Tested by 15

TestSessionFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
MakeStatisticsArrayFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68