简体   繁体   English

使用 ADF 将 azure blob 文件复制到 azure 突触

[英]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.

相关问题 在不使用 ADF 的情况下,将数据从本地传输到 azure 突触数据库 - Data transfer from on prem to azure synapse database with out using ADF 使用 Synapse 到 Azure 表存储的 Azure Blob 容器 CSV - Azure Blob Container CSV to Azure Table Storage using Synapse 数据从 Azure blob 复制到 S3 和 Synapse 到 Redshift - Data Copy from Azure blob to S3 andn Synapse to Redshift 使用 ADF 将子目录中的文件复制到 azure 存储 - Copy files in subdirs to azure storage with ADF 如何使用参数文件将多个文件从 BLOB 导出为 Azure Synapse Analytics 中的 Data Lake Parquet 格式? - How to Export Multiple files from BLOB to Data lake Parquet format in Azure Synapse Analytics using a parameter file? Databricks + ADF + ADLS2 + Hive = Azure Synapse - Databricks + ADF + ADLS2 + Hive = Azure Synapse 使用 bitbucket 管道 yml 脚本将文件复制到 azure blob 存储 - Copy files to azure blob storage using bitbucket pipeline yml script 使用 Microsoft Flow 将文件从 Azure blob 复制到 Sharepoint 文件夹 - Copy files from Azure blob to Sharepoint folder using Microsoft Flow 使用 Azure 突触与 Java - Using Azure Synapse with Java 如何使用 ADF 复制活动隔离 blob 存储中的文件 - how to segregate files in a blob storage using ADF copy activity
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM