| 84 | }; |
| 85 | |
| 86 | ArrayPtr TestDecimalOps::MakeDecimalVector(const DecimalScalar128& in) { |
| 87 | std::vector<arrow::Decimal128> ret; |
| 88 | |
| 89 | Decimal128 decimal_value = in.value(); |
| 90 | |
| 91 | auto decimal_type = std::make_shared<arrow::Decimal128Type>(in.precision(), in.scale()); |
| 92 | return MakeArrowArrayDecimal(decimal_type, {decimal_value}, {true}); |
| 93 | } |
| 94 | |
| 95 | void TestDecimalOps::Verify(DecimalTypeUtil::Op op, const std::string& function, |
| 96 | const DecimalScalar128& x, const DecimalScalar128& y, |