Azure 映射数据流:无法使用 blob 存储数据集作为源
Azure Mapping Data Flow : Not able to use blob storage dataset as a source
我添加了一个 Azure Blob dataset
作为 Azure 映射数据流的源,但我无法查看预览,因为它显示以下错误:
Dataset is using 'AzureStorage' linked service type, which is not supported in data flow.
下面给出的是数据集 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": []
}
}
data_staging 是 Azure Storage.
类型的链接服务
文档指出 Azure Blob 数据集可以用作源。
请告诉我我做错了什么。
按照你的说法dataset
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 存储,它起作用了。”
希望对您有所帮助。
我添加了一个 Azure Blob dataset
作为 Azure 映射数据流的源,但我无法查看预览,因为它显示以下错误:
Dataset is using 'AzureStorage' linked service type, which is not supported in data flow.
下面给出的是数据集 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": []
}
}
data_staging 是 Azure Storage.
类型的链接服务文档指出 Azure Blob 数据集可以用作源。 请告诉我我做错了什么。
按照你的说法dataset
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 存储,它起作用了。”
希望对您有所帮助。