$ echo '{"date": new Date(-1)}' | mongoimport -d test -c dates -vv
|
Mon Oct 22 12:12:51 creating new connection to:127.0.0.1:27017
|
Mon Oct 22 12:12:51 BackgroundJob starting: ConnectBG
|
Mon Oct 22 12:12:51 connected connection!
|
connected to: 127.0.0.1
|
Mon Oct 22 12:12:51 ns: test.dates
|
Mon Oct 22 12:12:51 filesize: 0
|
Mon Oct 22 12:12:51 got line:{"date": new Date(-1)}
|
Mon Oct 22 12:12:51 Assertion: 10340:Failure parsing JSON string near: "date": ne
|
0xaccb91 0x6796fb 0x67987c 0xa7840d 0x56121d 0x562d04 0xb3ea62 0x5542cc 0x7f8e46f0c76d 0x554159
|
mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xaccb91]
|
mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0x6796fb]
|
mongoimport() [0x67987c]
|
mongoimport(_ZN5mongo8fromjsonEPKcPi+0x56d) [0xa7840d]
|
mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xa2d) [0x56121d]
|
mongoimport(_ZN6Import3runEv+0x1314) [0x562d04]
|
mongoimport(_ZN5mongo4Tool4mainEiPPc+0x1712) [0xb3ea62]
|
mongoimport(main+0x2c) [0x5542cc]
|
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f8e46f0c76d]
|
mongoimport(__gxx_personality_v0+0x421) [0x554159]
|
Mon Oct 22 12:12:51 User Assertion: 13504:BSON representation of supplied JSON is too large: Failure parsing JSON string near: "date": ne
|
Mon Oct 22 12:12:51 exception:BSON representation of supplied JSON is too large: Failure parsing JSON string near: "date": ne
|
Mon Oct 22 12:12:51
|
Mon Oct 22 12:12:51 imported 0 objects
|
Mon Oct 22 12:12:51 ERROR: encountered 1 error
|