\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.
| 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 | /// |
no outgoing calls