AWS Glue Crawler - 创建为字符串的时间戳字段

发布于 2025-01-16 03:36:56 字数 585 浏览 3 评论 0原文

我有一个数据文件,其中包含一个名为 extraction_time 的字段,该字段具有如下所示的字段。

..,"extraction_time":"2022-03-15T02:33:39",..

在我的爬虫上,我有一个如下所示的分类器: 爬网程序分类器Image

但是,当我查看创建的表时,extraction_time 始终是字符串类型。

提取字段输入表

如何确保当我的抓取工具创建表时,它将 extraction_time 字段标识为时间戳而不是字符串?

非常感谢任何帮助

I have a data file with a field called extraction_time that has fields like below.

..,"extraction_time":"2022-03-15T02:33:39",..

On my crawler I have a Classifier that looks like so:
Crawler Classifier Image

However, when I look at the table that is created, extraction_time is always of the string type.

Extraction Field Type in Table

How do I ensure that when my crawler creates the table, it identifies the extraction_time field as a timestamp and not a string?

Any help is greatly appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文