You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2018/11/15 02:55:01 UTC

[jira] [Created] (FLINK-10889) Semantic inconsistency between DataSet#print and DataStream#print

Jeff Zhang created FLINK-10889:
----------------------------------

             Summary: Semantic inconsistency between DataSet#print and DataStream#print
                 Key: FLINK-10889
                 URL: https://issues.apache.org/jira/browse/FLINK-10889
             Project: Flink
          Issue Type: Improvement
          Components: DataSet API, DataStream API
            Reporter: Jeff Zhang


DataSet#print will print the result on client side, while DataStream#print will print the result on TM. This inconsistency will confuse users. IMHO, we should make the behavior consistency between DataSet and DataStream, I prefer to print the result on client side.  Regarding DataStream#print, we can use DataStreamUtils#collect to print it on client side.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)