You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/15 12:31:00 UTC

[GitHub] zentol commented on a change in pull request #6367: [FLINK-9850] Add a string to the print method to identify output for DataStream

zentol commented on a change in pull request #6367: [FLINK-9850] Add a string to the print method to identify output for DataStream
URL: https://github.com/apache/flink/pull/6367#discussion_r210251882
 
 

 ##########
 File path: flink-libraries/flink-streaming-python/src/main/java/org/apache/flink/streaming/python/api/datastream/PythonDataStream.java
 ##########
 @@ -144,6 +144,14 @@ public void output() {
 		stream.print();
 	}
 
+	/**
+	 * A thin wrapper layer over {@link DataStream#print(String)}.
+	 */
+	@PublicEvolving
+	public void output(String sinkIdentifier) {
+		stream.print(sinkIdentifier);
 
 Review comment:
   this is not tested

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services