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 04:08:34 UTC

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

simon824 opened a new pull request #1370:
URL: https://github.com/apache/incubator-seatunnel/pull/1370


   
   ## Purpose of this pull request
   
   Add doc for system variables ${now}${uuid} in file-connector and support for flink
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If any new Jar binary package adding in you PR, please add License Notice according
     [New License Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/developement/NewLicenseGuide.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


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



[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

Posted by GitBox <gi...@apache.org>.
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



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

Posted by GitBox <gi...@apache.org>.
simon824 commented on pull request #1370:
URL: https://github.com/apache/incubator-seatunnel/pull/1370#issuecomment-1056240569


   @wuchunfu @CalvinKirs PTAL thanks.


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



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

Posted by GitBox <gi...@apache.org>.
wuchunfu merged pull request #1370:
URL: https://github.com/apache/incubator-seatunnel/pull/1370


   


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