[ https://issues.apache.org/jira/browse/FLINK-9850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548718#comment-16548718
]
ASF GitHub Bot commented on FLINK-9850:
---------------------------------------
Github user hequn8128 commented on a diff in the pull request:
https://github.com/apache/flink/pull/6367#discussion_r203588835
--- Diff: flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/DataStream.scala
---
@@ -959,6 +959,29 @@ class DataStream[T](stream: JavaStream[T]) {
@PublicEvolving
def printToErr() = stream.printToErr()
+ /**
+ * Writes a DataStream to the standard output stream (stdout). For each
+ * element of the DataStream the result of .toString is
--- End diff --
.toString => [[AnyRef.toString()]]
> Add a string to the print method to identify output for DataStream
> ------------------------------------------------------------------
>
> Key: FLINK-9850
> URL: https://issues.apache.org/jira/browse/FLINK-9850
> Project: Flink
> Issue Type: New Feature
> Components: DataStream API
> Reporter: Hequn Cheng
> Assignee: vinoyang
> Priority: Major
> Labels: pull-request-available
>
> The output of the print method of {[DataSet}} allows the user to supply a String to identify
the output(see [FLINK-1486|https://issues.apache.org/jira/browse/FLINK-1486]). But {[DataStream}}
doesn't support now. It is valuable to add this feature for {{DataStream}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|