| 134 | |
| 135 | template <typename ArrowDecimal> |
| 136 | Status InternalDecimalFromPythonDecimal(PyObject* python_decimal, |
| 137 | const DecimalType& arrow_type, |
| 138 | ArrowDecimal* out) { |
| 139 | ARROW_DCHECK_NE(python_decimal, NULLPTR); |
| 140 | ARROW_DCHECK_NE(out, NULLPTR); |
| 141 | |
| 142 | std::string string; |
| 143 | RETURN_NOT_OK(PythonDecimalToString(python_decimal, &string)); |
| 144 | return DecimalFromStdString(string, arrow_type, out); |
| 145 | } |
| 146 | |
| 147 | template <typename ArrowDecimal> |
| 148 | Status InternalDecimalFromPyObject(PyObject* obj, const DecimalType& arrow_type, |
no test coverage detected