首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >azure-cosmosdb迁移工具错误

azure-cosmosdb迁移工具错误
EN

Stack Overflow用户
提问于 2018-08-14 06:47:32
回答 1查看 63关注 0票数 0

我在使用DocumentDB数据迁移工具将JSON或CSV数据加载到Azure CosmosDB时遇到了问题。我已经尝试了CSV和JSON,我得到了ID和Label,但没有得到与文档相关的任何其他属性。

JSON示例:

代码语言:javascript
复制
[
  {
    "id": "AB7FB330-5C81-E411-80CF-00155D011702",
    "name": "DeIdentified 1",
    "adopted": "No",
    "ageatscan": 63,
    "allergies": "Aspirin, Opiod",
    "ChildMedicalDisorders": null,
    "DateOfBirth": "1953-04-28T00:00:00Z",
    "Ethnicity": "Caucasian",
    "EyeDominance": null,
    "Gender": "Female",
    "HandDominance": "Right",
    "Height": "5ft6",
    "HighestEducation": "Bachelor's Degree",
    "MilitaryHistory": "No",
    "MilitaryStatus": "None",
    "NeuroPsychTestingDone": "No",
    "PatientClassification": "Neuorpsychy Patient",
    "ReferringPhyID": null,
    "ReferringPhysicianName": null,
    "Weight": 130,
    "ResidenceState": "CO",
    "label": "Patient"
  },
  {
    "id": "72D52694-6181-E411-80CF-00155D011702",
    "name": "DeIdentified 2",
    "adopted": "No",
    "ageatscan": 24,
    "allergies": null,
    "ChildMedicalDisorders": null,
    "DateOfBirth": "1990-09-27T00:00:00Z",
    "Ethnicity": null,
    "EyeDominance": null,
    "Gender": "Female",
    "HandDominance": null,
    "Height": null,
    "HighestEducation": null,
    "MilitaryHistory": "No",
    "MilitaryStatus": null,
    "NeuroPsychTestingDone": "No",
    "PatientClassification": "Neuorpsychy Patient",
    "ReferringPhyID": null,
    "ReferringPhysicianName": null,
    "Weight": 105,
    "ResidenceState": "CO",
    "label": "Patient"
  },
.
.
.
EN

回答 1

Stack Overflow用户

发布于 2018-08-14 11:14:55

我尝试导入您的文档,但一切正常。我建议您检查json文件或错误日志文件的格式。

希望能对你有所帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51831551

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档