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

The maximum date value exports using a long rather than an ISO-8601 formatted string

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.2.0, 3.3.0
    • Fix Version/s: None
    • Component/s: mongoexport
    • Labels:
      None

      Description

      See the "maxDate" field below, which is set the largest possible date value.

      ~/mongo (master)$ mongo
      MongoDB shell version: 3.2.4
      connecting to: test
      MongoDB Enterprise > db.date.findOne()
      {
      	"_id" : ObjectId("573de532d3a32e6fe2b29cf4"),
      	"maxDate" : ISODate("292278994-08-17T07:12:56.808Z"),
      	"minDate" : ISODate("-292275055-05-16T16:47:03.192Z"),
      	"largeDate" : ISODate("2038-01-19T03:14:08Z"),
      	"smallDate" : ISODate("1901-12-13T20:45:52Z")
      }
      MongoDB Enterprise > exit
      ~/mongo (master)$ /mongodb-3.2.default/bin/mongoexport -d test -c date
      2016-05-19T12:22:51.321-0400	connected to: localhost
      {"_id":{"$oid":"573de532d3a32e6fe2b29cf4"},"maxDate":{"$date":{"$numberLong":"9223372036854775807"}},"minDate":{"$date":"-292275055-05-16T16:47:04.192Z"},"largeDate":{"$date":"2038-01-19T03:14:08.000Z"},"smallDate":{"$date":"1901-12-13T20:45:52.000Z"}}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-platform Backlog - Platform Team
                Reporter:
                jeff.yemin Jeffrey Yemin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: