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

“Ignore empty strings” is ignored when importing CSV

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.26.0
    • Affects Version/s: None
    • Component/s: Import/Export
    • None
    • Iteration Uglifruit
    • Not Needed

      Problem Description

      Empty strings are not actually ignored like they are supposed to.

      Steps to Reproduce

      1. Create a CSV file with the following contents:

      _id,a
      6017fd8caeb4b44312f7254f,1
      6017fd8eaeb4b44312f72550,

      2. Import that file using CSV, with “Ignore empty strings checked”

      Expected Results

      The second document should not have an `a` key.

      Actual Results

      The second document has an `a` key with an empty string as its value.

      Additional Notes

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: