{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22590","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22590/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22590/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22590/events","html_url":"https://github.com/apache/spark/pull/22590","id":365108788,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MTMzMDUx","number":22590,"title":"[SPARK-25574][SQL]Add an option `keepQuotes` for parsing csv file","user":{"login":"10110346","id":24688163,"node_id":"MDQ6VXNlcjI0Njg4MTYz","avatar_url":"https://avatars2.githubusercontent.com/u/24688163?v=4","gravatar_id":"","url":"https://api.github.com/users/10110346","html_url":"https://github.com/10110346","followers_url":"https://api.github.com/users/10110346/followers","following_url":"https://api.github.com/users/10110346/following{/other_user}","gists_url":"https://api.github.com/users/10110346/gists{/gist_id}","starred_url":"https://api.github.com/users/10110346/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10110346/subscriptions","organizations_url":"https://api.github.com/users/10110346/orgs","repos_url":"https://api.github.com/users/10110346/repos","events_url":"https://api.github.com/users/10110346/events{/privacy}","received_events_url":"https://api.github.com/users/10110346/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-29T07:54:29Z","updated_at":"2018-10-09T15:46:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22590","html_url":"https://github.com/apache/spark/pull/22590","diff_url":"https://github.com/apache/spark/pull/22590.diff","patch_url":"https://github.com/apache/spark/pull/22590.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nIn this PR, I added a new option for csv file - `keepQuotes`.\r\nIn our project, when we read the CSV file, we hope to keep quotes.\r\n\r\nFor example:\r\nWe have such a record in the CSV file.:\r\n`ab,cc,,\"c,ddd\"`\r\n\r\nWe hope it displays like this:\r\n+----+---+----+---+\r\n| _c0 | _c1 | _c2  |   _c3 |\r\n+---+---+----+----+\r\n|  ab  |  cc   |  null     | `\"c,ddd\"` |\r\n\r\nNot like this:\r\n+----+---+----+----+\r\n| _c0 |  _c1  | _c2 |   _c3  |\r\n+---+----+----+----+\r\n|  ab   |  cc   |  null   | c,ddd |\r\n+----+---+----+---+\r\n\r\n\r\n\r\n## How was this patch tested?\r\nAdded a unit test.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/428244929","html_url":"https://github.com/apache/spark/pull/22590#issuecomment-428244929","issue_url":"https://api.github.com/repos/apache/spark/issues/22590","id":428244929,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODI0NDkyOQ==","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-09T15:46:34Z","updated_at":"2018-10-09T15:46:34Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97156/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}