Method
ParquetArrowFileWriterwrite_record_batch
since: 18.0.0
Declaration [src]
gboolean
gparquet_arrow_file_writer_write_record_batch (
GParquetArrowFileWriter* writer,
GArrowRecordBatch* record_batch,
GError** error
)
Description [src]
Write a record batch into the buffered row group.
Multiple record batches can be written into the same row group through this function.
gparquet_writer_properties_get_max_row_group_length() is respected
and a new row group will be created if the current row group
exceeds the limit.
Record batches get flushed to the output stream once
gparquet_file_writer_new_buffered_row_group() or
gparquet_file_writer_close() is called.
Available since: 18.0.0
Parameters
record_batch-
Type:
GArrowRecordBatchA record batch to be written.
The data is owned by the caller of the function. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.