Azure 数据工厂 json 数据集在类型属性中缺少属性



我正在从 Azure 数据工厂 (v1( 中的 json 格式数据创建数据集。使用以下代码时,typeProperties对象上的信息文本Property specific to this data set type出现Property expected错误。从我所看到的,我正在使用与示例文档中相同的属性。我缺少什么财产?

数据集定义:

{
    "name": "JsonDataSetData",
    "properties": {
        "type": "AzureDataLakeStore",
        "linkedServiceName": "TestAzureDataLakeStoreLinkedService",
        "structure": [
            {
                "name": "timestamp",
                "type": "String"
            },
            {
                "name": "value",
                "type": "Double"
            }
        ],
        "typeProperties": {
            "folderPath": "root_folder/sub_folder",
            "format": {
                "type": "JsonFormat",
                "filePattern": "setOfObjects",
                "jsonPathDefinition": {
                    "spid": "$.timestamp",
                    "value": "$.value"
                }
            },
        },
        "availability": {
            "frequency": "Day",
            "interval": 1
        }
    }
}

您是否尝试过使用默认值添加编码名称 和 nestingSeparator?文档有时会出错,并且记录为不需要的属性可能会给您此错误。

最新更新