Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.5.0
-
Untriaged
-
Unknown
Description
Problem
A document with single JSON element ( raw JSON types) is valid JSON, for example a string or array or a number:
5
|
"raw string"
|
["array","of","raw","values",12345,true]
|
true
|
Unfortunately INFER doesn't handle them and produces an empty schema.
Steps to reproduce
- Insert a number of single JSON Element documents (ensure that the Data type is set correctly to JSON)
- Run INFER
Attachments
Issue Links
- relates to
-
MB-30734 cbimport/cbexport does not work on single element JSON docs
- Closed
For Gerrit Dashboard: MB-31862 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
105899,4 | Make INFER support fields with multiple different types. | master | cbq-gui | Status: MERGED | +2 | +1 |
105932,2 | MB-31862 Update schema sidebar to handle top-level bare values. | master | query-ui | Status: MERGED | +2 | +1 |