No matched schema for {“_id”:“…”,“doc”:{…}

二次信任 提交于 2019-12-02 19:41:06

问题


When using the SDP to extract data from Cloudant and populate dashDB, I occasionally see error messages in the dashdb "XXXX_OVERFLOW" table that look like this:

No matched schema for {"_id":"...","doc":{...}

Questions

  1. What does this error mean?
  2. How can I fix it?

回答1:


There are two main phases to the SDP process:

  • Schema analysis
  • Data import

In the schema analysis phase, the SDP analyses a sample of documents in Cloudant and uses the document structures of the sample to infer the target schema in dashDB.

  1. The above error is encountered when the SDP tries to import a document with a schema that it did not see during the SDP analysis stage.

  2. The only option to resolve this is to increase the sample size used during schema discovery to unlimited.



来源:https://stackoverflow.com/questions/32843342/no-matched-schema-for-id-doc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!