* 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 */
| 320 | * Since: 0.17.0 |
| 321 | */ |
| 322 | gchar * |
| 323 | garrow_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: |
nothing calls this directly
no test coverage detected