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

Function dense_union

cpp/src/arrow/type.cc:3279–3285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3277 std::move(type_codes));
3278}
3279std::shared_ptr<DataType> dense_union(FieldVector child_fields,
3280 std::vector<int8_t> type_codes) {
3281 if (type_codes.empty()) {
3282 type_codes = internal::Iota<int8_t>(0, child_fields.size());
3283 }
3284 return std::make_shared<DenseUnionType>(std::move(child_fields), std::move(type_codes));
3285}
3286
3287namespace {
3288

Callers 15

TestSessionFunction · 0.85
MakeFunction · 0.85
TESTFunction · 0.85
type_test.ccFile · 0.85
MakeStatisticsArrayMethod · 0.85
MakeStatisticsArrayFunction · 0.85
TESTFunction · 0.85
json_internal.ccFile · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
server.ccFile · 0.85
GetUnknownColumnDataTypeFunction · 0.85

Calls 3

FieldsFromArraysAndNamesFunction · 0.85
emptyMethod · 0.45
sizeMethod · 0.45

Tested by 15

TestSessionFunction · 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
TEST_FFunction · 0.68
GetScalarsFunction · 0.68