leonardBang commented on a change in pull request #17749:
URL: https://github.com/apache/flink/pull/17749#discussion_r754766540



##########
File path: docs/content/docs/connectors/table/filesystem.md
##########
@@ -320,23 +320,32 @@ Time extractors define extracting time from partition 
values.
         <td><h5>partition.time-extractor.kind</h5></td>
         <td style="word-wrap: break-word;">default</td>
         <td>String</td>
-        <td>Time extractor to extract time from partition values. Support 
default and custom. For default, can configure timestamp pattern. For custom, 
should configure extractor class.</td>
+        <td>Time extractor to extract time from partition values. Support 
default and custom. For default, can configure timestamp pattern\formatter. For 
custom, should configure extractor class.</td>
     </tr>
     <tr>
         <td><h5>partition.time-extractor.class</h5></td>
         <td style="word-wrap: break-word;">(none)</td>
         <td>String</td>
         <td>The extractor class for implement PartitionTimeExtractor 
interface.</td>
     </tr>
+    <tr>
+        <td><h5>partition.time-extractor.timestamp-formatter</h5></td>
+        <td style="word-wrap: break-word;">yyyy-MM-dd&nbsp;HH:mm:ss</td>
+        <td>String</td>
+        <td>It can combine with 'partition.time-extractor.timestamp-patter', 
creates a formatter using the specified value. Supports multiple partition 
fields like '$year-$month-$day $hour:00:00'.

Review comment:
       ```suggestion
           <td>The formatter that formats the partition timestamp string value 
to timestamp, the partition timestamp string value is expressed by 
'partition.time-extractor.timestamp-pattern'. For example, the partition 
timestamp is extracted from multiple partition fields, say 'year', 'month' and 
'day', you can configure 'partition.time-extractor.timestamp-pattern' to 
'$year$month$day', and configure `partition.time-extractor.timestamp-formatter` 
to 'yyyyMMdd'. By default the formatter is 'yyyy-MM-dd HH:mm:ss'.
   ```




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to