【问题标题】:azure-cosmosdb DocumentDB Migration tool errorsazure-cosmosdb DocumentDB 迁移工具错误
【发布时间】:2018-08-14 12:13:36
【问题描述】:

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

示例 JSON:

[
  {
    "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"
  },
.
.
.

【问题讨论】:

  • 嗨,有更新吗?如果你采纳我的答案,你可以标记它。谢谢。

标签: azure-cosmosdb


【解决方案1】:

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

希望对你有帮助。

【讨论】:

  • 从您的声誉来看,我假设您知道,这更适合作为评论而不是答案。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-02-06
  • 1970-01-01
  • 1970-01-01
  • 2016-04-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多