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

Function garrow_schema_to_string_metadata

c_glib/arrow-glib/schema.cpp:322–328  ·  view source on GitHub ↗

* garrow_schema_to_string_metadata: * @schema: A #GArrowSchema. * @show_metadata: Whether include metadata or not. * * Returns: The string representation of the schema. * * It should be freed with g_free() when no longer needed. * * Since: 0.17.0 */

Source from the content-addressed store, hash-verified

320 * Since: 0.17.0
321 */
322gchar *
323garrow_schema_to_string_metadata(GArrowSchema *schema, gboolean show_metadata)
324{
325 const auto arrow_schema = garrow_schema_get_raw(schema);
326 const auto string = arrow_schema->ToString(show_metadata);
327 return g_strdup(string.c_str());
328}
329
330/**
331 * garrow_schema_add_field:

Callers

nothing calls this directly

Calls 2

garrow_schema_get_rawFunction · 0.85
ToStringMethod · 0.45

Tested by

no test coverage detected