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

mongoexport csv format is no longer same as before.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.1
    • None
    • None

    Description

      CSV exports from the database seem to have a few changes as follows, which so far I failed to find in the release documentation.

      • Export of String field used to be enclosed within quotes ("), but there are no quotes since 3.0
      • Export of an array field that does not have any elements is not enclosed in quotes i.e. exported as [], while arrays that have value are enclosed within quotes i.e. "[ ""a"" ]".
        This seems to break my current scripts based on CSV exports, I am wondering if there is any workarounds that I can use ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ikaran4 Karan Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: