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

Function TestArrayConversion

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

Source from the content-addressed store, hash-verified

55}
56
57void TestArrayConversion(const std::vector<std::string>& input,
58 const std::shared_ptr<Array>& expected_array, CDataType c_type,
59 Type::type arrow_type) {
60 std::shared_ptr<Array> original_array;
61 ArrayFromVector<StringType, std::string>(input, &original_array);
62
63 auto converted_array = convertArray(original_array, c_type);
64
65 AssertConvertedArray(expected_array, converted_array, input.size(), arrow_type);
66}
67
68void TestTime32ArrayConversion(const std::vector<int32_t>& input,
69 const std::shared_ptr<Array>& expected_array,

Callers 1

TESTFunction · 0.85

Calls 3

convertArrayFunction · 0.85
AssertConvertedArrayFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected