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:818–829  ·  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

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

Callers

nothing calls this directly

Calls 4

garrow_error_checkFunction · 0.85
garrow_table_new_rawFunction · 0.85
ReadMethod · 0.45

Tested by

no test coverage detected