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

Function MakeArrowArray

cpp/src/gandiva/tests/test_util.h:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36// Using those
37template <typename TYPE, typename C_TYPE>
38static inline ArrayPtr MakeArrowArray(std::vector<C_TYPE> values,
39 std::vector<bool> validity) {
40 ArrayPtr out;
41 arrow::ArrayFromVector<TYPE, C_TYPE>(validity, values, &out);
42 return out;
43}
44
45template <typename TYPE, typename C_TYPE>
46static inline ArrayPtr MakeArrowArray(std::vector<C_TYPE> values) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected