title: How to create new rows in dataset based on multiple values present in array in one column of the dataset
body: <p>How to create new rows in dataset based on multiple values present in array in one column of the dataset:</p>
  
  <p>I have a dataset with following data:</p>
  
  <pre><code>+----+---------+-------------------+------------------+
  |name|productId|              total|            scores|
  +----+---------+-------------------+------------------+
  | aaa|      200|               0.29|            [0.29]|
  | bbb|      200| 1.3900000000000001|      [0.53, 0.33]|
  | aaa|      100|0.22999999999999998|      [0.12, 0.11]|
  +----+---------+-------------------+------------------+
  </code></pre>
  
  <p>I want to transform this into below format in scala:</p>
  
  <pre><code>+----+---------+-------------------+------------------+
  |name|productId|              total|            scores|
  +----+---------+-------------------+------------------+
  | aaa|      200|               0.29|            0.29  |
  | bbb|      200| 1.3900000000000001|            0.53  |
  | bbb|      200| 1.3900000000000001|            0.33  |
  | aaa|      100|0.22999999999999998|            0.12  |
  | aaa|      100|0.22999999999999998|            0.11  |
  +----+---------+-------------------+------------------+
  </code></pre>