| 898 | } |
| 899 | |
| 900 | std::shared_ptr<Array> CheckConversion(const arrow::Result<Datum>& result) { |
| 901 | if (result.ok()) { |
| 902 | const Datum& datum = result.ValueOrDie(); |
| 903 | return datum.make_array(); |
| 904 | } else { |
| 905 | throw DriverException(result.status().message()); |
| 906 | } |
| 907 | } |
| 908 | |
| 909 | ArrayConvertTask GetConverter(Type::type original_type_id, CDataType target_type) { |
| 910 | // The else statement has a convert the works for the most case of array |
no test coverage detected