Compass has no good way to import array fields from CSV

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.37.0
    • Affects Version/s: None
    • Component/s: Import/Export
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • None

      When compass exports array fields in a document, it provides them as JSON string output, but there is no way to specify that the field should be interpreted as an array rather than a string when importing back. Adding an “array” type when importing might address this.

      Note that mongoimport/mongoexport have the same problem here.

       

      (Reported by Renato Riccio in #compass on Slack.)

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: