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

Function Make

cpp/src/arrow/array/array_nested.h:793–797  ·  view source on GitHub ↗

\brief Construct SparseUnionArray from type_ids and children This function does the bare minimum of validation of the input types. \param[in] type_ids An array of logical type ids for the union type \param[in] children Vector of children Arrays containing the data for each type. \param[in] type_codes Vector of type codes.

Source from the content-addressed store, hash-verified

791 /// \param[in] children Vector of children Arrays containing the data for each type.
792 /// \param[in] type_codes Vector of type codes.
793 static Result<std::shared_ptr<Array>> Make(const Array& type_ids, ArrayVector children,
794 std::vector<type_code_t> type_codes) {
795 return Make(std::move(type_ids), std::move(children), std::vector<std::string>{},
796 std::move(type_codes));
797 }
798
799 /// \brief Construct SparseUnionArray with custom field names from type_ids and children
800 ///

Callers 15

FinishInternalMethod · 0.70
FinishInternalMethod · 0.70
CopyToImplFunction · 0.70
MakeDataViewMethod · 0.70
FinishInternalMethod · 0.70
NumericArrayMethod · 0.70
TransposeDictIndicesFunction · 0.70
UnifyTableMethod · 0.70
FinishInternalMethod · 0.70

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.56
TEST_FFunction · 0.56
ASSERT_OK_AND_ASSIGNFunction · 0.56
GetScalarsFunction · 0.56
TEST_FFunction · 0.56
TESTFunction · 0.56
SetUpMethod · 0.56
TEST_FFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.56