Re: AnalysisException exception while parsing XML

2016-08-31 Thread Peyman Mohajerian
il.com> > *Sent: *Wednesday, August 31, 2016 7:41 PM > *To: *srikanth.je...@gmail.com > *Cc: *user@spark.apache.org > *Subject: *Re: AnalysisException exception while parsing XML > > > > Once you get to the 'Array' type, you got to use explode, you cannot to > the same

RE: AnalysisException exception while parsing XML

2016-08-31 Thread srikanth.jella
How do we explode nested arrays? Thanks, Sreekanth Jella From: Peyman Mohajerian

Re: AnalysisException exception while parsing XML

2016-08-31 Thread Peyman Mohajerian
Once you get to the 'Array' type, you got to use explode, you cannot to the same traversing. On Wed, Aug 31, 2016 at 2:19 PM, wrote: > Hello Experts, > > > > I am using Spark XML package to parse the XML. Below exception is being > thrown when trying to *parse a tag