title: Reading Structs from a spark data frame
body: <p>I have read this row from a spark DataFrame:</p>
  
  <pre><code>scala&gt; val t = df.take(99)
  scala&gt; t(0)(0)
  res69: Any = [2,null,WrappedArray([20789823,null,0.0,null,1490788977,1], [50115961,null,0.0,null,1490788977,1], [20787723,null,0.0,null,1490788977,1], [20796254,null,0.0,null,1490788977,1]),null,1488196976]
  </code></pre>
  
  <p>But unfortunately, I do not know how to access the wrapped array within the <code>Any</code>.</p>
  
  <p>While I can convert it to String and parse the output string, I am looking for the proper way to access the array.</p>