Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2778

Period in fieldname causes creation of embedded document

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Works as Designed
    • 100.2.1
    • No versions
    • mongoimport
    • None
    • Not Needed

    Description

      Problem Description

      Importing CSV files with first line as field name. Periods (.) in field name cause creation of subdocument instead of including period in field name.

      Steps to Reproduce

      Example:

      Rank,County,Date,Daily new cases per 100k people (7d moving avg.),Daily new cases (7d moving avg.),Daily new cases (7d moving avg.)

      Expected Results

      No subdocuments

      Actual Results

      Subdocuments

      Additional Notes

      Either default to including period in field name or give option to choose behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eric.reid@mongodb.com Eric Reid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: