* 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 */
| 724 | * Since: 0.16.0 |
| 725 | */ |
| 726 | GArrowTable * |
| 727 | garrow_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 |
nothing calls this directly
no test coverage detected