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

When importing CSV files, gaps in what look like array indexes behave weirdly

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Import/Export
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3

      Suppose you have a CSV file:

      foo[0],foo[1]
      a,b
      

      When importing that will become a collection with one document like:

      { foo: ['a', 'b'] }
      

      Suppose you have a CSV file like:

      foo[1000000]
      a
      

      That should probably not result in an array with 1 million elements.

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: