Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
Ubuntu 14.04.5 LTS
MongoDB version: 3.4.3
*Location*: https://docs.mongodb.com/manual/reference/program/mongoimport/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
*Screen Resolution*: 1920 x 1080
Description
in the --columnsHaveTypes the type symbol "bool()" is incorrect. When defining a type in a fieldFile as .bool() mongoimport generate the following error:
2017-04-24T16:47:42.571-0400 Failed: invalid type bool in header agreedToTerms.bool()
However, after changing "bool()" to "boolean()" it works.
Attachments
Issue Links
- duplicates
-
DOCS-10411 Incorrect boolean type declaration example in --columnsHaveTypes
-
- Closed
-
- is related to
-
TOOLS-2414 mongoimport --columnsHaveTypes message specifies bool for type instead of boolean
-
- Closed
-