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

Period in fieldname causes creation of embedded document

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 100.2.1
    • Component/s: mongoimport
    • Labels:
      None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: