Initialize the input formatter based on the outstream (i.e., the subprocess's stdout).
Initialize the input formatter based on the outstream (i.e., the subprocess's stdout).
This method is called per-partition, so all non-serializable initialization should happen here.
Write a DataFrame record to the subprocess's stdout stream.
Write a DataFrame record to the subprocess's stdout stream.