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

Period in fieldname causes creation of embedded document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 100.2.1
    • Fix Version/s: No versions
    • Component/s: mongoimport
    • Labels:
      None
    • Documentation Changes:
      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

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

              Dates

              Created:
              Updated:
              Resolved: