leonardBang commented on a change in pull request #17749:
URL: https://github.com/apache/flink/pull/17749#discussion_r754019037
##########
File path: docs/content/docs/connectors/table/filesystem.md
##########
@@ -328,15 +328,30 @@ Time extractors define extracting time from partition
values.
<td>String</td>
<td>The extractor class for implement PartitionTimeExtractor
interface.</td>
</tr>
+ <tr>
+ <td><h5>partition.time-extractor.formatter-pattern</h5></td>
+ <td style="word-wrap: break-word;">yyyy-MM-dd HH:mm:ss</td>
+ <td>String</td>
+ <td>When 'partition.time-extractor.kind' is set to 'default', you can
specify a formatter pattern to get a timestamp from partitions. <br>By default,
the format is 'yyyy-MM-dd HH:mm:ss'.
+ <br>Examples as follows:
+ <br>'yyyy-MM-dd' -> '2018-07-14'
+ <br>'dd-MMM-yyyy' -> '14-Jul-2018'
+ <br>'E, MMM dd yyyy' -> 'Sat, Jul 14 2018'
+ <br>More details: https://www.w3.org/QA/Tips/iso-date</td>
+ </tr>
<tr>
<td><h5>partition.time-extractor.timestamp-pattern</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>String</td>
- <td>The 'default' construction way allows users to use partition
fields to get a legal timestamp pattern. Default support 'yyyy-mm-dd hh:mm:ss'
from first field. If timestamp should be extracted from a single partition
field 'dt', can configure: '$dt'. If timestamp should be extracted from
multiple partition fields, say 'year', 'month', 'day' and 'hour', can
configure: '$year-$month-$day $hour:00:00'. If timestamp should be extracted
from two partition fields 'dt' and 'hour', can configure: '$dt
$hour:00:00'.</td>
+ <td>The 'default' construction way allows users to use partition
fields to get a legal timestamp pattern. Default support 'yyyy-MM-dd HH:mm:ss'
from first field. If timestamp should be extracted from a single partition
field 'dt', can configure: '$dt'. If timestamp should be extracted from
multiple partition fields, say 'year', 'month', 'day' and 'hour', can
configure: '$year-$month-$day $hour:00:00'. If timestamp should be extracted
from two partition fields 'dt' and 'hour', can configure: '$dt
$hour:00:00'.</td>
</tr>
</tbody>
</table>
+
+
+
+
Review comment:
please delete these
--
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]