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

Latest Compass Release Export Does Not Preserve Field Ordering in CSV

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • 1.26.1, 1.30.1
    • None
    • Import/Export
    • 3

    Description

      Problem Statement/Rationale

      Customer noted that when exporting to CSV the export columns are sorted alphabetically rather than preserving the order in the latest release. Customer then downgraded to a previous version and it seems that behaviour has persisted in the previous version.

      Steps to Reproduce

      Export to CSV to confirm that the fields are in alphabetic order

      Expected Results

      CSV Export should maintain fields in the order they're configured

      Actual Results

      Fields are in alphabetic order

      Additional Notes

      As per customer:

      Here is one more piece of info - JSON export preserves the order, as before, but CSV doesn't
      In any case, I just wrote a utility that exports a collection to CSV correctly (and without the error in string export of the 1.2x versions of Compass) - that's how easy it should be for someone to fix that bug

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              valentina.jukic@mongodb.com Valentina Jukic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: