繁体   English   中英

typeProperties中的Azure数据工厂json数据集缺少属性

[英]Azure Data Factory json dataset missing property in typeProperties

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

数据集定义:

{
    "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
        }
    }
}

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM