{"action":"closed","issue":{"url":"https://api.github.com/repos/databricks/spark-redshift/issues/6","labels_url":"https://api.github.com/repos/databricks/spark-redshift/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-redshift/issues/6/comments","events_url":"https://api.github.com/repos/databricks/spark-redshift/issues/6/events","html_url":"https://github.com/databricks/spark-redshift/issues/6","id":58030449,"number":6,"title":"Port to Spark 1.3.0","user":{"login":"antonycourtney","id":4683413,"avatar_url":"https://avatars.githubusercontent.com/u/4683413?v=3","gravatar_id":"","url":"https://api.github.com/users/antonycourtney","html_url":"https://github.com/antonycourtney","followers_url":"https://api.github.com/users/antonycourtney/followers","following_url":"https://api.github.com/users/antonycourtney/following{/other_user}","gists_url":"https://api.github.com/users/antonycourtney/gists{/gist_id}","starred_url":"https://api.github.com/users/antonycourtney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonycourtney/subscriptions","organizations_url":"https://api.github.com/users/antonycourtney/orgs","repos_url":"https://api.github.com/users/antonycourtney/repos","events_url":"https://api.github.com/users/antonycourtney/events{/privacy}","received_events_url":"https://api.github.com/users/antonycourtney/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-18T05:59:14Z","updated_at":"2015-03-24T18:13:59Z","closed_at":"2015-03-24T18:13:59Z","body":"I would very much like to use the new DataFrame work so I'm attempting to build this for Spark 1.3.0\r\nI'll be happy to submit a Pull Request once I get it building.\r\n\r\nCurrently getting the following error:\r\n```\r\n[info] Compiling 2 Scala sources to /Users/antony/home/src/spark/spark-redshift/target/scala-2.10/classes...\r\n[error] /Users/antony/home/src/spark/spark-redshift/src/main/scala/com/databricks/examples/redshift/input/RedshiftInputFormat.scala:109: value attr is not a member of String\r\n[error]         field.name.attr.cast(field.dataType).as(Symbol(field.name))\r\n[error]                    ^\r\n```\r\n\r\nThe types seem to have moved around some in the change from 1.2 to 1.3.0.  It looks to me the like the type of `field.name` is String in both 1.2 and 1.3.0, so I am guessing there's some kind of implicit conversion that was visible in 1.2 that's disappeared or moved in 1.3.0.  If anyone can offer a comment on where to look to understand what `field.name.attr` was doing or suggest how to resolve, I'll do the legwork to try and fix."}}