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

Function AssertConversionAllNulls

cpp/src/arrow/csv/converter_test.cc:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147template <typename DATA_TYPE, typename C_TYPE>
148void AssertConversionAllNulls(const std::shared_ptr<DataType>& type) {
149 std::vector<std::string> nulls = AllNulls();
150 std::vector<bool> is_valid(nulls.size(), false);
151 std::vector<C_TYPE> values(nulls.size());
152 AssertConversion<DATA_TYPE, C_TYPE>(type, nulls, {values}, {is_valid});
153}
154
155void AssertConversionError(const std::shared_ptr<DataType>& type,
156 const std::vector<std::string>& csv_string,

Callers

nothing calls this directly

Calls 2

AllNullsFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected