通过ADF解压缩邮政编码正在给出特殊的字符

发布于 2025-02-03 10:15:54 字数 179 浏览 3 评论 0原文

我们正在SFTP中提取一个ZIP文件,我们正在尝试通过ADF解压缩它。解压缩时,它在文件中给出了特殊字符,如以下

实际数据 |“ QLD Mackay” |

解开ADF之后 |“ QLD |” 56ay |

但是,当我们手动尝试解压缩时,我们没有得到这个问题。

请有人帮助解决这个问题吗?

We are extracting a zip file in SFTP and we are trying to unzip it through ADF. While unzipping it is giving a special character in the file as below

Actual data
|"QLD Mackay"|

After unzipping through ADF
|"QLD |"56ay"|

But when we manually try to unzip, we are not getting this issue.

Can someone help with this issue, please?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃素的狼 2025-02-10 10:15:54

确保您的数据中没有任何未知字符。我已经回复了示例数据,并且能够在没有任何问题的情况下解压缩文件。

示例:

我正在使用二进制数据集用于源,然后使用Azure Data Factory复制数据活动来解压缩ZIP文件。

  1. 在源数据集中,将压缩类型选择为Zipdeflate。

  1. ​在接收器设置中,选择复制行为作为保留层次结构以保留源文件名。

Make sure your data does not have any unknown characters in it. I have repro'd with sample data and was able to unzip the file without any issues.

Example:

I am using a binary dataset for source and sink to unzip the zip file using azure data factory copy data activity.

  1. In the source dataset, select compression type as ZipDeflate.

enter image description here

enter image description here

  1. Connect sink to sink dataset with compression type none. In sink settings, select copy behavior as Preserve hierarchy to preserve the source filename.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文