{"action":"opened","issue":{"url":"https://api.github.com/repos/harsha2010/magellan/issues/58","repository_url":"https://api.github.com/repos/harsha2010/magellan","labels_url":"https://api.github.com/repos/harsha2010/magellan/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/harsha2010/magellan/issues/58/comments","events_url":"https://api.github.com/repos/harsha2010/magellan/issues/58/events","html_url":"https://github.com/harsha2010/magellan/issues/58","id":145105939,"number":58,"title":"Geojson import does not work on Spark 1.6","user":{"login":"jomach","id":4804546,"avatar_url":"https://avatars.githubusercontent.com/u/4804546?v=3","gravatar_id":"","url":"https://api.github.com/users/jomach","html_url":"https://github.com/jomach","followers_url":"https://api.github.com/users/jomach/followers","following_url":"https://api.github.com/users/jomach/following{/other_user}","gists_url":"https://api.github.com/users/jomach/gists{/gist_id}","starred_url":"https://api.github.com/users/jomach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jomach/subscriptions","organizations_url":"https://api.github.com/users/jomach/orgs","repos_url":"https://api.github.com/users/jomach/repos","events_url":"https://api.github.com/users/jomach/events{/privacy}","received_events_url":"https://api.github.com/users/jomach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-01T07:16:54Z","updated_at":"2016-04-01T07:16:54Z","closed_at":null,"body":"Hi Guys, \r\n\r\nI was trying the new Library and it does not work on Spark 1.6\r\n\r\nMy Steps: \r\n\r\n./spark-shell  --jars /Users/jorge/Downloads/postgresql-9.4.1208.jar  --driver-memory 4G --driver-cores 2 --packages harsha2010:magellan:1.0.3-s_2.10,com.databricks:spark-csv_2.11:1.4.0,com.databricks:spark-avro_2.10:2.0.1\r\n\r\nval mageldf = sqlContext.read.format(\"magellan\").option(\"type\",\"geojson\").load(\"/Users/jorge/Downloads/magellan/src/test/resources/geojson/polygon/example.geojson\")\r\n\r\n\r\nscala> mageldf.show\r\n16/04/01 09:12:14 ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)\r\njava.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.GenericMutableRow cannot be cast to org.apache.spark.sql.Row\r\n.....\r\n\r\nCaused by: java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.GenericMutableRow cannot be cast to org.apache.spark.sql.Row\r\n\r\n\r\n"}}