Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
Legacy C++ Implementation
-
mongoimport vs mongoshell
Description
When using mongoimport, creating a document which contains dots in a key is possible. however, this should not be allowed, since it would never be queryable.
example
-------
mongoimport -d test -c invalidjson --file ivalid.json (use attached file)
This is allowed using mongoimport, but actually the document is invalid. Can you add a check on this when importing data? mongoshell is ok. that returns a correct error.
Attachments
Issue Links
- is related to
-
TOOLS-1335 mongoimport imports fields with dots (.) from JSON
-
- Closed
-
- related to
-
TOOLS-64 dotted field names should produce nested objects in mongoimport
-
- Closed
-