Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5752

Cannot import document with string number as a key - "Document is larger than the maximum size 16777216"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.36.2
    • Affects Version/s: 1.31.1
    • Component/s: Import/Export
    • Labels:
      None
    • Environment:
      Windows 10
      Compass 1.31.1

      Problem Statement/Rationale

      Cannot import document with string number as a key:

      {"_id":"3f574f2d-99b3-4e90-82ae-79c0392602e5","a":{"b":{"56495341":{}}}}

      Steps to Reproduce

      1. In  Compass, go to any existing collection or create a fresh one
      2. Click "Import Data" or ADD DATA -> Import File
      3. Select the file "import.json" and confirm

      Expected Results

      Document from the file is imported to the collection

      Actual Results

      Error appears


      • Document is larger than the maximum size 16777216

      and no document is imported

      Additional Notes

      When the document is inserted through ADD DATA -> Insert Document it works as expected

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomas.laubr@smart-software.cz Tomáš Laubr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: