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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: mongoimport
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: