-
Type: Story
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Import/Export
-
None
-
3
-
Iteration Ostrich, Iteration Python
User story
As a Compass user
I want to import documents from a JSON file
So that I can quickly seed my collection with existing data
Acceptance Criteria
- Compass can import a valid JSON file (an array of documents,
COMPASS-3185) - Compass cam import extended JSON (
COMPASS-3384) - Compass can import a valid JSONL file (http://jsonlines.org/)
- When an error happens during the import
- Compass shows a meaningful error message
- Compass says how many documents it managed to import
- When the JSON is invalid
- Compass displays a meaningful error (
COMPASS-3755)
- Compass displays a meaningful error (
- During the import, progress is displayed in the import modal
Notes
- JSONL = whatever is the spec that mongoimport handles
- is caused by
-
COMPASS-3185 As a frequent user, I need to import valid JSON files containing documents that span multiple lines
- Closed
-
COMPASS-3384 As a developer I need Compass to accept mongo shell mode JSON for import, including ObjectId
- Closed
-
COMPASS-3755 Improve importing invalid JSON
- Closed