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

Function garrow_feather_file_reader_read

c_glib/arrow-glib/reader.cpp:816–827  ·  view source on GitHub ↗

* garrow_feather_file_reader_read: * @reader: A #GArrowFeatherFileReader. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (transfer full): The table in the file that has all columns. * * Since: 0.12.0 */

Source from the content-addressed store, hash-verified

814 * Since: 0.12.0
815 */
816GArrowTable *
817garrow_feather_file_reader_read(GArrowFeatherFileReader *reader, GError **error)
818{
819 auto arrow_reader = garrow_feather_file_reader_get_raw(reader);
820 std::shared_ptr<arrow::Table> arrow_table;
821 auto status = arrow_reader->Read(&arrow_table);
822 if (garrow_error_check(error, status, "[feather-file-reader][read]")) {
823 return garrow_table_new_raw(&arrow_table);
824 } else {
825 return NULL;
826 }
827}
828
829/**
830 * garrow_feather_file_reader_read_indices:

Callers

nothing calls this directly

Calls 3

garrow_error_checkFunction · 0.85
ReadMethod · 0.45

Tested by

no test coverage detected