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

Give mongoimport of CSV/TSVs a way to specify import types

    XMLWordPrintable

Details

    • Needed

    Description

      When using mongoimport to import a CSV, the field "0123" will get imported as the number 123 no matter what, there's no way to get mongoimport to treat it as a String.

      It could be nice to have an option to specify what type each field should be interpreted as. This could also be useful if we start supporting importing types beyond just strings and numbers (dates, for example).

      Attachments

        Issue Links

          Activity

            People

              zach.snow Zach Snow
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: