You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/03/02 07:07:04 UTC

[GitHub] [incubator-seatunnel] wuchunfu commented on a change in pull request #1370: [Improve][Connectors] Add description for system variables ${now}${uuid} in file-connector and support for flink

wuchunfu commented on a change in pull request #1370:
URL: https://github.com/apache/incubator-seatunnel/pull/1370#discussion_r817401906



##########
File path: docs/en/flink/configuration/sink-plugins/File.md
##########
@@ -23,7 +23,24 @@ Currently, `csv` , `json` , and `text` are supported. The streaming mode current
 
 ### path [string]
 
-The file path is required. The `hdfs file` starts with `hdfs://` , and the `local file` starts with `file://` .
+The file path is required. The `hdfs file` starts with `hdfs://` , and the `local file` starts with `file://`,
+we can add the variable `${now}` or `${uuid}` in the path, like `hdfs:///test_${uuid}_${now}.txt`, 
+`${now}` represents the current time, and its format can be defined by specifying the option `path_time_format`
+
+### path_time_format [string]
+

Review comment:
       @simon824 Please add the `path_time_format` option in `Options` , thank you




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org