mongoimport Questions

1

Solved

When I export my data from mongoDB I obtain the following file: Everything is a string in the mongoDB except for the date that is ISODate. [email protected],sha1:64000:18:BTJnM903gIt5FNlSsZI...
Plexiglas asked 28/4, 2017 at 9:33

3

I have downloaded huge chunks of data in the format in csv. I am using mongoimport to enter the data into MongoDB for processing. How do I get the date into date format recognized by MongoDB? samp...
Menswear asked 6/4, 2014 at 4:43

1

I am attempting to seed a database with a json array of data with mongoimport, however when the data reaches the mongo collection, it imports as a key in the collection object like this: "item...
Bonnett asked 28/3, 2017 at 23:1

2

Is there any library available in node.js/javascript that allows an individual to use mongoimport in code? To my understanding, mongoimport is kinda like an .exe, which you have to execute it firs...
Friedland asked 15/3, 2013 at 16:0

3

Solved

OS: ubuntu 14.04 LTS Mongo version: rs0:PRIMARY> db.version() 3.0.7 Storage engine: wiredTiger. Importing a JSON file (13GB, 1 JSON doc per line) via this command: $ mongoimport --db InfDB -...
Phaedrus asked 24/10, 2015 at 6:32

2

Solved

I'm trying to add a JSON file to mongodb using mongoimports from terminal, here: mongoimport --db my_db --collection my_collection --file /content/2_read.json I keep getting JavaScript executio...
Superfluous asked 11/5, 2013 at 17:54

1

I am trying to import the large data set json file into mongodb using mongoimport. mongoimport --db test --collection sam1 --file 1234.json --jsonArray error: 2014-07-02T15:57:16.406+0530 error: ...
Daisy asked 2/7, 2014 at 17:17

1

To my surprise, I found that importing the same file to the same MongoDB (3.0) is much slower (> 20 times) using 3.0 version vs 2.6.4. Does anyone have the same problems? And how to fix it? Here a...
Marxmarxian asked 8/10, 2015 at 22:56

2

Solved

I have a 300 mb CSV with 3 million rows worth of city information from Geonames.org. I am trying to convert this CSV into JSON to import into MongoDB with mongoimport. The reason I want JSON is tha...
Credent asked 20/11, 2012 at 16:59

1

Solved

I am importing the following text file to geojson: {"type":"FeatureCollection","features":[{"type":"Feature","geometry":{type":"LineString","coordinates":[[-122.029517,37.976152]]},"properties":{"...
Scarrow asked 17/7, 2015 at 22:2

3

Solved

How do I import a NumberLong into MongoDB using mongoimport? Unfortunately, entries like these in a json file cause an error: {"_id": NumberLong(123)} {"_id": NumberLong("123")} Result: Mon No...
Cochineal asked 12/11, 2012 at 13:46

1

Solved

A CSV containing the following rows is imported into mongodb via CSV using the mongoimport tool: object_1_id,field1,field2 52db7f026956b996a0000001,apples,oranges 52db7f026956b996a0000001,pears,pl...
Poacher asked 23/1, 2014 at 1:59

2

I tried to import a 7.4 MB JSON file via ... mongoimport -d mongoimport -c test --file jsonTest.json But I saw this issue. Wed Sep 04 13:08:52.378 exception:BSON representation of supplied JSON...
Harriettharrietta asked 4/9, 2013 at 17:16

© 2022 - 2024 — McMap. All rights reserved.