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

Function garrow_table_combine_chunks

c_glib/arrow-glib/table.cpp:726–737  ·  view source on GitHub ↗

* garrow_table_combine_chunks: * @table: A #GArrowTable. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (nullable) (transfer full): The #GArrowTable with * chunks combined, or %NULL on error. * * Since: 0.16.0 */

Source from the content-addressed store, hash-verified

724 * Since: 0.16.0
725 */
726GArrowTable *
727garrow_table_combine_chunks(GArrowTable *table, GError **error)
728{
729 const auto arrow_table = garrow_table_get_raw(table);
730
731 auto maybe_new_table = arrow_table->CombineChunks();
732 if (garrow::check(error, maybe_new_table, "[table][combine-chunks]")) {
733 return garrow_table_new_raw(&(*maybe_new_table));
734 } else {
735 return NULL;
736 }
737}
738
739/**
740 * garrow_table_validate

Callers

nothing calls this directly

Calls 3

garrow_table_get_rawFunction · 0.85
CombineChunksMethod · 0.80
checkFunction · 0.70

Tested by

no test coverage detected