|
SERVER-5543 was closed with a pointer to this one, and this one is also closed as fixed.
With mongoimport version 2.6.8 I do see however that the shell syntax for ISODate() is not supported, while ObjectId() seems to work just fine. Is this a regression in a later version?
For the record, the error I'm getting:
exception:BSON representation of supplied JSON is too large: code FailedToParse: FailedToParse: Bad characters in value: offset:827 of:{ [stripped private data], "published" : ISODate("2014-04-30T12:59:47.621Z") }
|
The offset points to the 'I' in ISODate. Using sed to replace ISODate("...") with {"$date": "..."} lets the import succeed.
|