{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/spark-xml/issues/153","repository_url":"https://api.github.com/repos/databricks/spark-xml","labels_url":"https://api.github.com/repos/databricks/spark-xml/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-xml/issues/153/comments","events_url":"https://api.github.com/repos/databricks/spark-xml/issues/153/events","html_url":"https://github.com/databricks/spark-xml/issues/153","id":171741257,"number":153,"title":"Loading xml to databricks ","user":{"login":"anayyar82","id":5200594,"avatar_url":"https://avatars.githubusercontent.com/u/5200594?v=3","gravatar_id":"","url":"https://api.github.com/users/anayyar82","html_url":"https://github.com/anayyar82","followers_url":"https://api.github.com/users/anayyar82/followers","following_url":"https://api.github.com/users/anayyar82/following{/other_user}","gists_url":"https://api.github.com/users/anayyar82/gists{/gist_id}","starred_url":"https://api.github.com/users/anayyar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anayyar82/subscriptions","organizations_url":"https://api.github.com/users/anayyar82/orgs","repos_url":"https://api.github.com/users/anayyar82/repos","events_url":"https://api.github.com/users/anayyar82/events{/privacy}","received_events_url":"https://api.github.com/users/anayyar82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-08-17T19:34:08Z","updated_at":"2016-08-19T14:24:25Z","closed_at":null,"body":"Hello, Getting below error if i load the file.\r\n\r\nProg is straightforward : \r\n\r\n\r\n    val sc = new SparkContext()\r\n    val sqlContext = new SQLContext(sc)\r\n    val df = sqlContext.read\r\n      .format(\"com.databricks.spark.xml\")\r\n      .option(\"rowTag\", rowTag)\r\n      .load(infile)\r\n\r\n\r\n\r\n\r\n16/08/17 14:31:38 ERROR DefaultWriterContainer: Aborting task.\r\nscala.MatchError: 7248 (of class java.lang.Long)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StringConverter$.toCatalystImpl(CatalystTypeConverters.scala:295)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StringConverter$.toCatalystImpl(CatalystTypeConverters.scala:294)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$CatalystTypeConverter.toCatalyst(CatalystTypeConverters.scala:102)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter.toCatalystImpl(CatalystTypeConverters.scala:260)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter.toCatalystImpl(CatalystTypeConverters.scala:250)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$CatalystTypeConverter.toCatalyst(CatalystTypeConverters.scala:102)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter.toCatalystImpl(CatalystTypeConverters.scala:260)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$StructConverter.toCatalystImpl(CatalystTypeConverters.scala:250)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$CatalystTypeConverter.toCatalyst(CatalystTypeConverters.scala:102)\r\n\tat org.apache.spark.sql.catalyst.CatalystTypeConverters$ArrayConverter$$anonfun$toCatalystImpl$2.apply(CatalystTypeConverters.scala:163)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\r\n\tat scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:244)\r\n\tat scala.collection.AbstractTraversable.map(Traversable.scala:105)\r\n"},"comment":{"url":"https://api.github.com/repos/databricks/spark-xml/issues/comments/241032462","html_url":"https://github.com/databricks/spark-xml/issues/153#issuecomment-241032462","issue_url":"https://api.github.com/repos/databricks/spark-xml/issues/153","id":241032462,"user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T14:24:25Z","updated_at":"2016-08-19T14:24:25Z","body":"I just opened a spark shell and executed the codes. It seems the exception is not from this library. \r\n\r\nI tried this with current master version. Do you mind if I ask to check this against current master/0.3.3?\r\n\r\nMeanwhile, I will try to find potentially related issue with this. BTW, the error message itself does not look like it is from this library though.\r\n"}}
{"actor":{"display_login":"HyukjinKwon"}}