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

Function garrow_decimal_to_string

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

Source from the content-addressed store, hash-verified

210
211template <typename Decimal>
212gchar *
213garrow_decimal_to_string(typename DecimalConverter<Decimal>::GArrowType *decimal)
214{
215 DecimalConverter<Decimal> converter;
216 const auto arrow_decimal = converter.get_raw(decimal);
217 const auto string = arrow_decimal->ToIntegerString();
218 return g_strdup(string.c_str());
219}
220
221template <typename Decimal>
222GBytes *

Callers

nothing calls this directly

Calls 2

ToIntegerStringMethod · 0.80
get_rawMethod · 0.45

Tested by

no test coverage detected