Re: Error in spark-xml

2016-05-01 Thread Mail.com
Can you try once by creating your own schema file and using it to read the XML. I had similar issue but got that resolved by custom schema and by specifying each attribute in that. Pradeep > On May 1, 2016, at 9:45 AM, Hyukjin Kwon wrote: > > To be more clear, > > If you set the rowTag as "

Re: Error in spark-xml

2016-05-01 Thread Hyukjin Kwon
To be more clear, If you set the rowTag as "book", then it will produces an exception which is an issue opened here, https://github.com/databricks/spark-xml/issues/92 Currently it does not support to parse a single element with only a value as a row. If you set the rowTag as "bkval", then it sh

Re: Error in spark-xml

2016-04-30 Thread Hyukjin Kwon
Hi Sourav, I think it is an issue. XML will assume the element by the rowTag as object. Could you please open an issue in https://github.com/databricks/spark-xml/issues please? Thanks! 2016-05-01 5:08 GMT+09:00 Sourav Mazumder : > Hi, > > Looks like there is a problem in spark-xml if the xml