ignoreBlanks doesn't work on some fields

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc5
    • Affects Version/s: 2.8.0-rc4
    • Component/s: mongoimport
    • None

      e.g. run mongoimport on a csv document containing:
      mongoimport --type csv --headerline --ignoreBlanks --drop

      a,b,c
      ,,4

      you get

      {
        "_id": ObjectId("54aa95293069cd4edd382109"),
        "b": "",
        "c": 4
      }

      instead of

      {
        "_id": ObjectId("54aa95293069cd4edd382109"),
        "c": 4
      }

              Assignee:
              Adinoyi Omuya (Inactive)
              Reporter:
              Adinoyi Omuya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: