title: flatten array within a Dataframe in Spark
body: <p>How can i flatten array into dataframe that contain colomns [a,b,c,d,e]</p>
  
  <pre><code>root
   |-- arry: array (nullable = true)
   |    |-- element: struct (containsNull = true)
   |    |    |-- a string (nullable = true)
   |    |    |-- b: long (nullable = true)
   |    |    |-- c: string (nullable = true)
   |    |    |-- d: string (nullable = true)
   |    |    |-- e: long (nullable = true)
  </code></pre>
  
  <p>Any help is appreciated.</p>