{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/spark-csv/issues/320","repository_url":"https://api.github.com/repos/databricks/spark-csv","labels_url":"https://api.github.com/repos/databricks/spark-csv/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-csv/issues/320/comments","events_url":"https://api.github.com/repos/databricks/spark-csv/issues/320/events","html_url":"https://github.com/databricks/spark-csv/issues/320","id":151432211,"number":320,"title":"Cannot write empty string value without quotes","user":{"login":"jrenner","id":1393288,"avatar_url":"https://avatars.githubusercontent.com/u/1393288?v=3","gravatar_id":"","url":"https://api.github.com/users/jrenner","html_url":"https://github.com/jrenner","followers_url":"https://api.github.com/users/jrenner/followers","following_url":"https://api.github.com/users/jrenner/following{/other_user}","gists_url":"https://api.github.com/users/jrenner/gists{/gist_id}","starred_url":"https://api.github.com/users/jrenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrenner/subscriptions","organizations_url":"https://api.github.com/users/jrenner/orgs","repos_url":"https://api.github.com/users/jrenner/repos","events_url":"https://api.github.com/users/jrenner/events{/privacy}","received_events_url":"https://api.github.com/users/jrenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T16:40:13Z","updated_at":"2016-04-28T00:06:24Z","closed_at":null,"body":"I need to write values that are either Null or empty string as an empty string (i.e. length of zero)\r\n\r\nWhen I write the output for these fields is always quotes with no content: \"\"\r\n\r\nHere is what I want:\r\n```\r\nNAME,AGE\r\nBob,34\r\nAlice,49\r\n,33\r\n```\r\n\r\n\r\nHere is what I get:\r\n```\r\nNAME,AGE\r\nBob,34\r\nAlice,49\r\n\"\",33\r\n```\r\n\r\nI am using pyspark, and .option('quoteMode', 'NONE') does not change anything"},"comment":{"url":"https://api.github.com/repos/databricks/spark-csv/issues/comments/215269182","html_url":"https://github.com/databricks/spark-csv/issues/320#issuecomment-215269182","issue_url":"https://api.github.com/repos/databricks/spark-csv/issues/320","id":215269182,"user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T00:06:24Z","updated_at":"2016-04-28T00:06:24Z","body":"I remember this issue, https://github.com/databricks/spark-csv/issues/291. Try this after setting `parserLib` to `unovicoty`."}}