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

Replace backend of the feature with better CSV/JSON parsers

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.21.0
    • None
    • Import/Export
    • None
    • 5
    • Iteration Manatee, Iteration Newt

    Description

      This task is about replacing the backend of the feature with community-maintained libraries that are battle-tested for CSV and JSON parsing/creation.

      This is timeboxed to 1 week and the main goal is that after this is done, Import/Export in Compass with the existing UX works reliably, no matter the size of the collection:

      • CSV are exported according to the CSV spec and can be imported back
      • JSON is imported with no errors. For the time being, since we don't change the UX, it's ok to still only support JSONL but let's keep in mind that eventually we want to also support JSON arrays. JSON is also exported with no errors, and an exported JSON can be imported back.

      If we are unable to make this work, we will fallback to using mongoimport/mongoexport.

      Attachments

        Activity

          People

            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: