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

mongoimport imports "NumberLong(x)" as 32-bit int

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.8.0-rc0
    • mongoimport
    • None

    Description

      Just tested importing

      [{ number:NumberInt(16)}, {number:NumberLong(18)}, {number:1.0}]

      Both 16 and 18 were imported as NumberInt()

      This makes it impossible to import Number Long as 64-bit integer.

      Attachments

        Activity

          People

            adinoyi.omuya@mongodb.com Adinoyi Omuya
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: