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

Function convertArray

cpp/src/arrow/flight/sql/odbc/odbc_impl/util_test.cc:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::shared_ptr<Array> convertArray(const std::shared_ptr<Array>& original_array,
52 CDataType c_type) {
53 auto converter = util::GetConverter(original_array->type_id(), c_type);
54 return converter(original_array);
55}
56
57void TestArrayConversion(const std::vector<std::string>& input,
58 const std::shared_ptr<Array>& expected_array, CDataType c_type,

Callers 3

TestArrayConversionFunction · 0.85

Calls 2

GetConverterFunction · 0.70
type_idMethod · 0.45

Tested by

no test coverage detected