pub async fn create_writer(
file_compression_type: FileCompressionType,
location: &Path,
object_store: Arc<dyn ObjectStore>,
) -> Result<Box<dyn AsyncWrite + Unpin + Send>, DataFusionError>👎Deprecated since 48.0.0: Use ObjectWriterBuilder::new(…) instead
Expand description
Returns an [AsyncWrite] which writes to the given object store location
with the specified compression.
The writer will have a default buffer size as chosen by [BufWriter::new].
We drop the AbortableWrite struct and the writer will not try to cleanup on failure.
Users can configure automatic cleanup with their cloud provider.