Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-657

mongoexport doesn't respect positional fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.5, 3.1.4
    • Component/s: mongoexport
    • Labels:
    • Environment:
      windows, ubuntu
    • Backport Requested:
      v3.0
    • Sprint:
      Kernel Tools Iteration 3.1.1, Kernel Tools Iteration 3.1.2, Kernel Tools Iteration 3, Kernel Tools Iteration 4

      Description

      mongo
      db.foo.insert(

      {x:[1,2,3]}

      )
      exit
      mongoexport --db test --collection foo --csv --fields x.0,x.1
      // expected: positional field names worked in 2.6
      // actual: fields exported as blank strings. Values not exported.

        Attachments

          Activity

            People

            • Assignee:
              adinoyi.omuya Adinoyi Omuya
              Reporter:
              nuknuksan nuk nuk san
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: