{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22792","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22792/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22792/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22792/events","html_url":"https://github.com/apache/spark/pull/22792","id":372390744,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTg2OTUx","number":22792,"title":"[SPARK-25795][R][EXAMPLE] Fix CSV SparkR SQL Example","user":{"login":"dongjoon-hyun","id":9700541,"node_id":"MDQ6VXNlcjk3MDA1NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/9700541?v=4","gravatar_id":"","url":"https://api.github.com/users/dongjoon-hyun","html_url":"https://github.com/dongjoon-hyun","followers_url":"https://api.github.com/users/dongjoon-hyun/followers","following_url":"https://api.github.com/users/dongjoon-hyun/following{/other_user}","gists_url":"https://api.github.com/users/dongjoon-hyun/gists{/gist_id}","starred_url":"https://api.github.com/users/dongjoon-hyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongjoon-hyun/subscriptions","organizations_url":"https://api.github.com/users/dongjoon-hyun/orgs","repos_url":"https://api.github.com/users/dongjoon-hyun/repos","events_url":"https://api.github.com/users/dongjoon-hyun/events{/privacy}","received_events_url":"https://api.github.com/users/dongjoon-hyun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-22T04:24:05Z","updated_at":"2018-10-22T14:17:37Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22792","html_url":"https://github.com/apache/spark/pull/22792","diff_url":"https://github.com/apache/spark/pull/22792.diff","patch_url":"https://github.com/apache/spark/pull/22792.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR aims to fix the following SparkR example in Spark 2.3.0 ~ 2.4.0.\r\n\r\n```r\r\n> df <- read.df(\"examples/src/main/resources/people.csv\", \"csv\")\r\n> namesAndAges <- select(df, \"name\", \"age\")\r\n...\r\nCaused by: org.apache.spark.sql.AnalysisException: cannot resolve '`name`' given input columns: [_c0];;\r\n'Project ['name, 'age]\r\n+- AnalysisBarrier\r\n      +- Relation[_c0#97] csv\r\n```\r\n \r\n- https://dist.apache.org/repos/dist/dev/spark/v2.4.0-rc3-docs/_site/sql-programming-guide.html#manually-specifying-options\r\n- http://spark.apache.org/docs/2.3.2/sql-programming-guide.html#manually-specifying-options\r\n- http://spark.apache.org/docs/2.3.1/sql-programming-guide.html#manually-specifying-options\r\n- http://spark.apache.org/docs/2.3.0/sql-programming-guide.html#manually-specifying-options\r\n\r\n## How was this patch tested?\r\n\r\nManual"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/431848688","html_url":"https://github.com/apache/spark/pull/22792#issuecomment-431848688","issue_url":"https://api.github.com/repos/apache/spark/issues/22792","id":431848688,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg0ODY4OA==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T14:17:37Z","updated_at":"2018-10-22T14:17:37Z","author_association":"NONE","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}