ray.data.datasource.BlockBasedFileDatasink.write_block_to_file#

BlockBasedFileDatasink.write_block_to_file(block: BlockAccessor, file: pyarrow.NativeFile)[source]#

Write a block of data to a file.

Parameters:
  • block – The block to write.

  • file – The file to write the block to.