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

Function garrow_chunked_array_import

c_glib/arrow-glib/chunked-array.cpp:421–431  ·  view source on GitHub ↗

* garrow_chunked_array_import: * @c_abi_array_stream: (not nullable): A `struct ArrowArrayStream *`. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (transfer full) (nullable): An imported chunked array on success, * %NULL on error. * * Since: 21.0.0 */

Source from the content-addressed store, hash-verified

419 * Since: 21.0.0
420 */
421GArrowChunkedArray *
422garrow_chunked_array_import(gpointer c_abi_array_stream, GError **error)
423{
424 auto arrow_chunked_array_result =
425 arrow::ImportChunkedArray(static_cast<struct ArrowArrayStream *>(c_abi_array_stream));
426 if (garrow::check(error, arrow_chunked_array_result, "[chunked-array][import]")) {
427 return garrow_chunked_array_new_raw(&(*arrow_chunked_array_result));
428 } else {
429 return NULL;
430 }
431}
432
433/**
434 * garrow_chunked_array_export:

Callers

nothing calls this directly

Calls 3

ImportChunkedArrayFunction · 0.85
checkFunction · 0.70

Tested by

no test coverage detected