Azure映射数据流:无法将blob存储数据集用作源

Azure映射数据流:无法将blob存储数据集用作源,azure,azure-data-factory,azure-data-flow,Azure,Azure Data Factory,Azure Data Flow,我将Azure Blob数据集作为源添加到Azure映射数据流,但无法查看预览,因为它显示以下错误: 数据集正在使用数据流中不支持的“AzureStorage”链接服务类型 以下是数据集JSON: { "name": "PIT_Input", "properties": { "linkedServiceName": { "referenceName": "data

我将Azure Blob
数据集
作为源添加到Azure映射数据流,但无法查看预览,因为它显示以下错误:

数据集正在使用数据流中不支持的“AzureStorage”链接服务类型

以下是数据集JSON:

{
"name": "PIT_Input",
"properties": {
    "linkedServiceName": {
        "referenceName": "data_staging",
        "type": "LinkedServiceReference"
    },
    "annotations": [],
    "type": "DelimitedText",
    "typeProperties": {
        "location": {
            "type": "AzureBlobStorageLocation",
            "container": "dataflowpoc"
        },
        "columnDelimiter": ",",
        "escapeChar": "\\",
        "firstRowAsHeader": true,
        "quoteChar": "\""
    },
    "schema": []
  }
}
数据暂存是一种类型为Azure存储的链接服务

文档说明Azure Blob数据集可以用作源。
请告诉我我做错了什么。

根据您的
数据集
JSON
,您只选择了容器
dataflowpoc
,没有指定文件

您只能预览类型为“DelimitedText”的文件数据:

Dataset
预览数据,如果容器中的文件具有不同的架构,则无法预览所有数据:

数据集JSON:

{
    "name": "DelimitedText1",
    "properties": {
        "linkedServiceName": {
            "referenceName": "AzureBlobStorage1",
            "type": "LinkedServiceReference"
        },
        "annotations": [],
        "type": "DelimitedText",
        "typeProperties": {
            "location": {
                "type": "AzureBlobStorageLocation",
                "container": "containerleon"
            },
            "columnDelimiter": ",",
            "escapeChar": "\\",
            "firstRowAsHeader": false,
            "quoteChar": "\""
        },
        "schema": []
    },
    "type": "Microsoft.DataFactory/factories/datasets"
}
但在数据流数据预览中,我们可以看到文件中的所有数据:

我认为您的错误只是偶然发生的,请刷新数据工厂并重试

更新:


错误得到了解决:“我将链接服务的类型从Azure存储更改为Azure blob存储,并且成功了。”


希望这有帮助。

只是一个假设:性能选项是否设置为:Premium?如果是这样,考虑改为标准。另一个较小的建议是将帐户类型设置为最现代的“StorageV2”。请尝试使用Azure Blob链接服务创建一个类型分隔文本的新数据集,如果您仍然收到此错误,请告诉我。我将链接服务的类型从Azure存储更改为Azure Blob存储,并且成功。我真的不确定两者之间的区别。我将链接服务的类型从Azure存储更改为Azure blob存储,并且成功了。“我真的不确定这两者之间的区别。”毗湿奴苏雷斯祝贺你。存储太广泛,它有博客存储、文件存储、队列存储和表存储。介意我更新一下你对我答案的评论吗?然后你可以接受(标记)它作为答案。这可能对其他社区成员有益。非常感谢。