Compact a partition - merge multiple data files into a single file.
Compact a partition - merge multiple data files into a single file.
Care should be taken with this method. Currently, there is no guarantee for correct behavior if multiple threads or storage instances attempt to compact the same partition simultaneously.
partition to compact, or all partitions
suggested threads to use for file system operations
replaced with compact(Option[String], Option[Long], Int)
Compact a partition - merge multiple data files into a single file.
Compact a partition - merge multiple data files into a single file.
Care should be taken with this method. Currently, there is no guarantee for correct behavior if multiple threads or storage instances attempt to compact the same partition simultaneously.
partition to compact, or all partitions
approximate target size of files, in bytes
suggested threads to use for file system operations