[
https://issues.apache.org/jira/browse/FLINK-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738733#comment-14738733
]
ASF GitHub Bot commented on FLINK-2622:
---------------------------------------
Github user HuangWHWHW commented on the pull request:
https://github.com/apache/flink/pull/1098#issuecomment-139233867
@tillrohrmann
Hi, I got a problem in this failed CI.
It is just a scala programming issue.
I found both in `DataStream.scala` and `DataSet.scala` had the same method
now:
`def writeAsText(
filePath: String,
writeMode: FileSystem.WriteMode = null): DataSink[T]`
So in some failed tests(.e.g
`org.apache.flink.api.scala.table.test.AsITCase`), `ds.writeAsText(resultPath,
WriteMode.OVERWRITE)` cannot find the correct `writeAsText` method.
Could you tell me how to fix it?
> 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)