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

Function garrow_csv_reader_read

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

* garrow_csv_reader_read: * @reader: A #GArrowCSVReader. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: (nullable) (transfer full): A read #GArrowTable or %NULL on error. * * Since: 0.12.0 */

Source from the content-addressed store, hash-verified

1885 * Since: 0.12.0
1886 */
1887GArrowTable *
1888garrow_csv_reader_read(GArrowCSVReader *reader, GError **error)
1889{
1890 auto arrow_reader = garrow_csv_reader_get_raw(reader);
1891 auto arrow_table = arrow_reader->Read();
1892 if (garrow::check(error, arrow_table, "[csv-reader][read]")) {
1893 return garrow_table_new_raw(&(arrow_table.ValueOrDie()));
1894 } else {
1895 return NULL;
1896 }
1897}
1898
1899typedef struct GArrowJSONReadOptionsPrivate_
1900{

Callers

nothing calls this directly

Calls 4

ValueOrDieMethod · 0.80
checkFunction · 0.70
ReadMethod · 0.45

Tested by

no test coverage detected