[
https://issues.apache.org/jira/browse/FLINK-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740098#comment-14740098
]
ASF GitHub Bot commented on FLINK-2622:
---------------------------------------
Github user HuangWHWHW commented on the pull request:
https://github.com/apache/flink/pull/1098#issuecomment-139443340
Hi, I think there is a issue that:
* if you want to no overwrite in a exist file, you will get the error "File
already exists"
* if you want to no overwrite and the file is not exist, the `NO_OVERWRITE`
is just the same as `OVERWRITE`
So I think currently the `NO_OVERWRITE` is not make sense.
Maybe we need discuss and fix on it through a new JIRA?
> Scala DataStream API does not have writeAsText method which supports WriteMode
> ------------------------------------------------------------------------------
>
> Key: FLINK-2622
> URL: https://issues.apache.org/jira/browse/FLINK-2622
> Project: Flink
> Issue Type: Bug
> Components: Scala API, Streaming
> Reporter: Till Rohrmann
>
> The Scala DataStream API, unlike the Java DataStream API, does not support a
> {{writeAsText}} method which takes the {{WriteMode}} as a parameter. In order
> to make the two APIs consistent, it should be added to the Scala DataStream
> API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)