write_record_batch


Description:

[ Version ( since = "18.0.0" ) ]
public bool write_record_batch (RecordBatch record_batch) throws Error

Write a record batch into the buffered row group.

Multiple record batches can be written into the same row group through this function.

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.

Parameters:

this

A ArrowFileWriter.

record_batch

A record batch to be written.

Returns:

true on success, false if there was an error.