Azure 数据工厂数据流 - Parquet、架构和数据类型“任意”
我在 Azure 数据工厂中有一个数据流,它正在从 Parquet 文件读取数据。除了一个文件之外,它对所有文件都运行顺利。
数据流失败并出现错误:无法从文件读取或转换架构...
进入调试模式后,我意识到数据流将我的一列视为数据类型 any
(请参见下面的屏幕截图)。在原始文件中,架构读取此列的TIME_MILLIS
类型。我如何告诉数据流至少将此列视为 Text
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果这是从导入投影方法自动推断的,您可以尝试在源数据集属性中从文件手动导入架构。
如果这没有帮助,您可以使用派生列步骤和转换为所需的数据类型/en-us/azure/data-factory/data-flow-conversion-functions#conversion-function-list" rel="nofollow noreferrer">转换函数。
If this is being inferred from the Import projection method automatically, you can try manually importing the schema from a file in the source dataset properties.
If that doesn't help, you can cast that specific column into required data type using Derived Column step with conversion functions.