[英]copy azure blob files to azure synapse using ADF
My source files are in azure blob storage in CSV format.我的源文件采用 CSV 格式的 azure blob 存储。
I want these files unzipped & move to Azure synapse using ADF.我希望这些文件解压缩并使用 ADF 移动到 Azure 突触。 In the copy activity source, I have given the input for the blob storage and in sink I have given the input for the synapse.
在复制活动源中,我为 blob 存储提供了输入,在接收器中,我为突触提供了输入。 But I am not sure which copy method I need to choose in Polybase or Copy Command (Preview) or Bulk insert.
但我不确定我需要在 Polybase 或 Copy Command (Preview) 或 Bulk insert 中选择哪种复制方法。 I tried with Polybase and Bulk insert copy methods.
我尝试使用 Polybase 和批量插入复制方法。 But I got the below error when running the pipeline.
但是在运行管道时出现以下错误。
ErrorCode=FailedDbOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error happened when loading data into SQL Data Warehouse.,
Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Data.SqlClient.SqlException,
Message=User does not have permission to perform this action.,Source=.Net SqlClient Data Provider,
SqlErrorNumber=15247,Class=16,ErrorCode=-2146232060,State=1,Errors=[{Class=16,Number=15247,State=1,Message=User does not have permission to perform this action.,},],'
But in Azure sql Datawarehouse, I can able to insert the data using sql scripts.So, I believe above User Permission Error is not the issue to fail me pipeline.但是在 Azure sql 数据仓库中,我可以使用 sql 脚本插入数据。所以,我相信上面的用户权限错误不是让我失败的问题。
Can you guide me please, as I am very new to Azure?你能指导我吗,因为我对 Azure 很陌生?
Thanks谢谢
The issue is caused by the database firewall settings.该问题是由数据库防火墙设置引起的。
We are glad to hear that it's fixed now.我们很高兴听到它现在已修复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.