| 131 | |
| 132 | template <typename Decimal> |
| 133 | gboolean |
| 134 | garrow_decimal_equal(typename DecimalConverter<Decimal>::GArrowType *decimal, |
| 135 | typename DecimalConverter<Decimal>::GArrowType *other_decimal) |
| 136 | { |
| 137 | DecimalConverter<Decimal> converter; |
| 138 | const auto arrow_decimal = converter.get_raw(decimal); |
| 139 | const auto arrow_other_decimal = converter.get_raw(other_decimal); |
| 140 | return *arrow_decimal == *arrow_other_decimal; |
| 141 | } |
| 142 | |
| 143 | template <typename Decimal> |
| 144 | gboolean |