Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B516107F9 for ; Tue, 8 Sep 2015 06:37:01 +0000 (UTC) Received: (qmail 65047 invoked by uid 500); 8 Sep 2015 06:36:45 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 64998 invoked by uid 500); 8 Sep 2015 06:36:45 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 64988 invoked by uid 99); 8 Sep 2015 06:36:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 06:36:45 +0000 Date: Tue, 8 Sep 2015 06:36:45 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2622) Scala DataStream API does not have writeAsText method which supports WriteMode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)