首页 文章

尝试将数据从Azure SQL数据库复制到Azure Blob存储时出错

提问于
浏览
1

我在Azure数据工厂(V1)中创建了一个管道 . 我有一个复制管道,它在输入上有一个AzureSqlTable数据集,在输出上有一个AzureBlob数据集 . 我用作输入的AzureSqlTable数据集被创建为另一个管道的输出 . 在此管道中,我启动了一个将一个表条目复制到blob csv文件的过程 . 启动管道时出现以下错误:

复制活动遇到用户错误:ErrorCode = UserErrorTabularCopyBehaviorNotSupported,'Type = Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,如果源是表格数据源,则不支持Message = CopyBehavior属性 . ,Source = Microsoft.DataTransfer.ClientLibrary,' . 我怎么解决这个问题?

2 回答

  • 1

    根据错误信息,它表明Azure数据工厂不支持该操作,但如果使用Azure sql表作为输入并将Azure blob数据作为输出,则它应该是supported by Azure data factory .

    我还使用Azure门户进行了演示测试 . 您也可以按照详细步骤执行此操作 .

    1.单击Azure门户中的复制数据 .

    enter image description here

    2.设置复制属性 .

    enter image description here

    3.选择来源

    enter image description here

    enter image description here

    4.选择目标数据存储

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    5.完成部署

    enter image description here

    6.检查天蓝色和存储的结果 .

    enter image description here

    enter image description here

    Update:

    如果我们想要使用现有数据集,我们可以选择[From Existing Conections],有关详细信息,请参阅屏幕截图 .

    enter image description here

    Update2:

    对于Data Factory(v1)复制活动设置,它仅支持使用现有Azure Blob存储/ Azure Data Lake Store数据集 . 更多详细信息请参考link .

    enter image description here

    如果使用Data Factory(V2)是可以接受的,我们可以使用现有的azure sql数据集 .

    enter image description here

  • 0

    所以,实际上,如果我们不使用这个糟糕的“复制数据(预览)”动作,我们实际上将活动添加到现有管道而不是新管道 - 一切正常 . 因此,解决方案是手动将复制活动添加到现有管道中 .

相关问题