MCPcopy Create free account
hub / github.com/apache/arrow / garrow_decimal_equal

Function garrow_decimal_equal

c_glib/arrow-glib/decimal.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132template <typename Decimal>
133gboolean
134garrow_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
143template <typename Decimal>
144gboolean

Callers

nothing calls this directly

Calls 1

get_rawMethod · 0.45

Tested by

no test coverage detected