// the check and the actual opening of the file for writing (which might or might not be deferred by the buffered
// output stream. But it works as a reasonable sanity check.
checkState(!targetFile.exists(), "Can not write to existing file %s", targetFile.getAbsolutePath());
files.put(columnHandle, targetFile);
writers.put(columnHandle, new BlocksFileWriter(
columnHandle.getColumnType(),
blockEncodingSerde,
encoding,
new BufferedOutputSupplier(newOutputStreamSupplier(targetFile),
OUTPUT_BUFFER_SIZE)));