XXXX does not exist in the discovered schema. Document has not been imported

戏子无情 提交于 2020-01-17 05:26:28

问题


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:

[XXXX does not exist in the discovered schema. Document has not been imported.]

Questions

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

回答1:


This error is similar to: No matched schema for {"_id":"...","doc":{...}, so the same answer applies here.

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/32888096/xxxx-does-not-exist-in-the-discovered-schema-document-has-not-been-imported

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