leonardBang commented on a change in pull request #17749:
URL: https://github.com/apache/flink/pull/17749#discussion_r754766805
##########
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 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:
And we can put this option under
`partition.time-extractor.timestamp-pattern`
--
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]