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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc0
    • Component/s: mongoimport
    • Labels:
      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

            Assignee:
            adinoyi.omuya Adinoyi Omuya
            Reporter:
            asya Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: