{"action":"created","issue":{"url":"https://api.github.com/repos/harsha2010/magellan/issues/19","labels_url":"https://api.github.com/repos/harsha2010/magellan/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/harsha2010/magellan/issues/19/comments","events_url":"https://api.github.com/repos/harsha2010/magellan/issues/19/events","html_url":"https://github.com/harsha2010/magellan/issues/19","id":96172941,"number":19,"title":"Ensure examples in README and Wiki actually run","user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-20T22:06:08Z","updated_at":"2015-10-29T09:16:08Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/harsha2010/magellan/issues/comments/152123223","html_url":"https://github.com/harsha2010/magellan/issues/19#issuecomment-152123223","issue_url":"https://api.github.com/repos/harsha2010/magellan/issues/19","id":152123223,"user":{"login":"kentore82","id":15376838,"avatar_url":"https://avatars.githubusercontent.com/u/15376838?v=3","gravatar_id":"","url":"https://api.github.com/users/kentore82","html_url":"https://github.com/kentore82","followers_url":"https://api.github.com/users/kentore82/followers","following_url":"https://api.github.com/users/kentore82/following{/other_user}","gists_url":"https://api.github.com/users/kentore82/gists{/gist_id}","starred_url":"https://api.github.com/users/kentore82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentore82/subscriptions","organizations_url":"https://api.github.com/users/kentore82/orgs","repos_url":"https://api.github.com/users/kentore82/repos","events_url":"https://api.github.com/users/kentore82/events{/privacy}","received_events_url":"https://api.github.com/users/kentore82/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T09:16:08Z","updated_at":"2015-10-29T09:16:08Z","body":"Im having datatype issues with the pyspark examples:\r\n> $SPARK_HOME/bin/pyspark --packages harsha2010:magellan:1.0.3-s_2.10\r\n\r\n    from magellan.types import Point, Polygon\r\n    from pyspark.sql import Row, SQLContext\r\n    print('Spark v. '+sc.version)\r\n\r\n    PointRecord = Row(\"id\", \"point\")\r\n\r\n    points = sc.parallelize([\r\n    (0, Point(-1.0, -1.0)),\r\n    (1, Point(-1.0, 1.0)),\r\n    (2, Point(1.0, -1.0))])\\\r\n    .map(lambda x: PointRecord(*x)).toDF()\r\n\r\n    points.show()\r\n\r\n    Spark v. 1.4.1\r\n    ---------------------------------------------------------------------------\r\n    ...\r\n    /hadoop-dist/spark/python/pyspark/sql/types.pyc in _verify_type(obj, dataType)\r\n    1008 \r\n    1009     _type = type(dataType)\r\n    -> 1010     assert _type in _acceptable_types, \"unknown datatype: %s\" % dataType\r\n    1011 \r\n    1012     # subclass of them can not be deserialized in JVM\r\n    \r\n    AssertionError: unknown datatype: Point (0.0,0.0)"}}