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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)