{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13267","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13267/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13267/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13267/events","html_url":"https://github.com/apache/spark/pull/13267","id":156380920,"number":13267,"title":"[SPARK-15493][SQL] Allow setting the quoteEscapingEnabled flag when writing CSV","user":{"login":"jurriaan","id":345809,"avatar_url":"https://avatars.githubusercontent.com/u/345809?v=3","gravatar_id":"","url":"https://api.github.com/users/jurriaan","html_url":"https://github.com/jurriaan","followers_url":"https://api.github.com/users/jurriaan/followers","following_url":"https://api.github.com/users/jurriaan/following{/other_user}","gists_url":"https://api.github.com/users/jurriaan/gists{/gist_id}","starred_url":"https://api.github.com/users/jurriaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurriaan/subscriptions","organizations_url":"https://api.github.com/users/jurriaan/orgs","repos_url":"https://api.github.com/users/jurriaan/repos","events_url":"https://api.github.com/users/jurriaan/events{/privacy}","received_events_url":"https://api.github.com/users/jurriaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-23T22:28:33Z","updated_at":"2016-05-23T22:30:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13267","html_url":"https://github.com/apache/spark/pull/13267","diff_url":"https://github.com/apache/spark/pull/13267.diff","patch_url":"https://github.com/apache/spark/pull/13267.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nAllow setting the quoteEscapingEnabled flag when writing CSV\r\n\r\nSee https://github.com/uniVocity/univocity-parsers/blob/f3eb2af26374940e60d91d1703bde54619f50c51/src/main/java/com/univocity/parsers/csv/CsvWriterSettings.java#L231-L247\r\n\r\nThis kind of functionality is needed to be able to write Amazon Redshift compatible CSV files (https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-data-format.html#copy-csv)\r\n\r\nhttps://issues.apache.org/jira/browse/SPARK-15493\r\n\r\n## How was this patch tested?\r\n\r\nAdded a test that verifies the output is quoted correctly."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/221115470","html_url":"https://github.com/apache/spark/pull/13267#issuecomment-221115470","issue_url":"https://api.github.com/repos/apache/spark/issues/13267","id":221115470,"user":{"login":"jurriaan","id":345809,"avatar_url":"https://avatars.githubusercontent.com/u/345809?v=3","gravatar_id":"","url":"https://api.github.com/users/jurriaan","html_url":"https://github.com/jurriaan","followers_url":"https://api.github.com/users/jurriaan/followers","following_url":"https://api.github.com/users/jurriaan/following{/other_user}","gists_url":"https://api.github.com/users/jurriaan/gists{/gist_id}","starred_url":"https://api.github.com/users/jurriaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurriaan/subscriptions","organizations_url":"https://api.github.com/users/jurriaan/orgs","repos_url":"https://api.github.com/users/jurriaan/repos","events_url":"https://api.github.com/users/jurriaan/events{/privacy}","received_events_url":"https://api.github.com/users/jurriaan/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T22:30:27Z","updated_at":"2016-05-23T22:30:27Z","body":"cc @rxin @HyukjinKwon "}}
{"actor":{"display_login":"jurriaan"}}