flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2622) Scala DataStream API does not have writeAsText method which supports WriteMode
Date Tue, 08 Sep 2015 06:36:45 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734311#comment-14734311
] 

ASF GitHub Bot commented on FLINK-2622:
---------------------------------------

Github user HuangWHWHW commented on the pull request:

    https://github.com/apache/flink/pull/1098#issuecomment-138449988
  
    I take a fix for the consistent to JAVA and SCALA APIs.
    As a result, we can call `writeAsText` and `writeAsCsv` method with:
    *path
    *path, write frequency
    *path, writemode
    *path. writemode, write frequency
    
    And I add tests for these APIs.
    And I noticed that in JAVA API, `writeAsCsv` cannot be configured the `Delimiter` for
a row or a filed while the SCALA API is able.
    I'm not sure neither to remove the feature in Scala API nor add it to the Java API.
    So I added a new `writeAsCsv` method in Java DataStream for that we can configure the
`Delimiter`.


> 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)

Mime
View raw message