-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.3, 3.1.2
-
Component/s: mongoimport
(this is not new but it's very frustrating)
Using mongoimport with CSV file where every field is quoted and therefore expected to be imported as strings, instead mongimport seems to coerce the strings into other values, in particular numbers.
So I have fields with values "10010", "10112", "10934","94107-1745", "" and I end up with three numbers and two strings.
This is rather unfortunate - if I wanted them as numbers, why would I have quoted them? If I import the same thing without quotes, I get numbers, so shouldn't adding quotes have some effect?