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

dump/export/files query should use extJSON v2 and ordered BSON

    XMLWordPrintable

    Details

    • Backport Requested:
      v4.0, v3.6
    • Documentation Changes:
      Needed
    • Case:

      Description

      The 'query' command line flag consumes legacy JSON.  This needs to be converted to take relaxed or canonical extended JSON.  This is a breaking change, because the legacy format allow unquoted JSON keys like the shell does, but I think it's an acceptable change to require JSON input to be actual, legal JSON.

      We also need to change the query type from bson.M to bson.D to be order preserving and use the driver's extended JSON parser to give us an order-preserving translation of the JSON.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.golden David Golden
                Reporter:
                david.golden David Golden
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: