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 2020/08/11 12:07:44 UTC

[GitHub] [flink] shuiqiangchen commented on a change in pull request #13117: [FLINK-18863][python] Support read_text_file() and print() interface …

shuiqiangchen commented on a change in pull request #13117:
URL: https://github.com/apache/flink/pull/13117#discussion_r468530594



##########
File path: flink-python/pyflink/datastream/stream_execution_environment.py
##########
@@ -465,6 +465,19 @@ def add_source(self, source_func: SourceFunction, source_name: str = 'Custom Sou
                                                                        j_type_info)
         return DataStream(j_data_stream=j_data_stream)
 
+    def read_text_file(self, file_path: str, charset_name: str = "UTF-8") -> DataStream:

Review comment:
       Yes, it would be better to inform user it is not suitable for production.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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