{"action":"created","issue":{"url":"https://api.github.com/repos/apache/flink/issues/1098","labels_url":"https://api.github.com/repos/apache/flink/issues/1098/labels{/name}","comments_url":"https://api.github.com/repos/apache/flink/issues/1098/comments","events_url":"https://api.github.com/repos/apache/flink/issues/1098/events","html_url":"https://github.com/apache/flink/pull/1098","id":105143501,"number":1098,"title":"[FLINK-2622][streaming]add WriteMode for writeAsText in DataStream.scala","user":{"login":"HuangWHWHW","id":13193847,"avatar_url":"https://avatars.githubusercontent.com/u/13193847?v=3","gravatar_id":"","url":"https://api.github.com/users/HuangWHWHW","html_url":"https://github.com/HuangWHWHW","followers_url":"https://api.github.com/users/HuangWHWHW/followers","following_url":"https://api.github.com/users/HuangWHWHW/following{/other_user}","gists_url":"https://api.github.com/users/HuangWHWHW/gists{/gist_id}","starred_url":"https://api.github.com/users/HuangWHWHW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuangWHWHW/subscriptions","organizations_url":"https://api.github.com/users/HuangWHWHW/orgs","repos_url":"https://api.github.com/users/HuangWHWHW/repos","events_url":"https://api.github.com/users/HuangWHWHW/events{/privacy}","received_events_url":"https://api.github.com/users/HuangWHWHW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-07T04:18:09Z","updated_at":"2015-09-11T03:25:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/1098","html_url":"https://github.com/apache/flink/pull/1098","diff_url":"https://github.com/apache/flink/pull/1098.diff","patch_url":"https://github.com/apache/flink/pull/1098.patch"},"body":"Add a parameter writeMode in writeAsText with default setting \"null\"."},"comment":{"url":"https://api.github.com/repos/apache/flink/issues/comments/139443340","html_url":"https://github.com/apache/flink/pull/1098#issuecomment-139443340","issue_url":"https://api.github.com/repos/apache/flink/issues/1098","id":139443340,"user":{"login":"HuangWHWHW","id":13193847,"avatar_url":"https://avatars.githubusercontent.com/u/13193847?v=3","gravatar_id":"","url":"https://api.github.com/users/HuangWHWHW","html_url":"https://github.com/HuangWHWHW","followers_url":"https://api.github.com/users/HuangWHWHW/followers","following_url":"https://api.github.com/users/HuangWHWHW/following{/other_user}","gists_url":"https://api.github.com/users/HuangWHWHW/gists{/gist_id}","starred_url":"https://api.github.com/users/HuangWHWHW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuangWHWHW/subscriptions","organizations_url":"https://api.github.com/users/HuangWHWHW/orgs","repos_url":"https://api.github.com/users/HuangWHWHW/repos","events_url":"https://api.github.com/users/HuangWHWHW/events{/privacy}","received_events_url":"https://api.github.com/users/HuangWHWHW/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T03:25:18Z","updated_at":"2015-09-11T03:25:18Z","body":"Hi, I think there is a issue that:\r\n* if you want to no overwrite in a exist file, you will get the error \"File already exists\"\r\n* if you want to no overwrite and the file is not exist, the `NO_OVERWRITE` is just the same as `OVERWRITE`\r\nSo I think currently the `NO_OVERWRITE` is not make sense.\r\nMaybe we need discuss and fix on it through a new JIRA?"}}