Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2799

Import a document into a collection from CSV file creates two documents

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 1.13.0
    • Import/Export
    • None

    Description

      When importing a single simple document into a collection, 2 documents are created on import: one null and the expected document. Please see the attached screesnshot.  

      Importing the document from a JSON file works as expected. Both the CSV and JSON files were exported using Compass. 

      The CSV file format is correct after export:

      _id,name
      ObjectId("5ae8903d55684b47033a86a0"),ross
      

      There seems to be an issue on the import of the CSV file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ross.cantillon@mongodb.com Ross Cantillon (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: