title: Writing multiple parquet files in parallel
body: <p>I have a big Spark <code>DataSet</code> (Java) &amp; I need to apply filter to get multiple dataset and write each dataset to a parquet.</p>
  
  <p>Does Java Spark provide any feature where it can write all parquet files in parallel? I am trying to avoid it to do it sequentially.</p>
  
  <p>Other option is use Java <code>Thread</code>, is there any other way to do it?</p>