| 146 | |
| 147 | template <typename DATA_TYPE, typename C_TYPE> |
| 148 | void 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 | |
| 155 | void AssertConversionError(const std::shared_ptr<DataType>& type, |
| 156 | const std::vector<std::string>& csv_string, |