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

when importing documents with embeddings, it shouldn't complain about unbound arrays

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Import/Export
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      When importing through the IMPORT DATA process a document with an array bigger than 250 elements, even if they are all numeric, it shows a warning mentioning that there is a large array.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Import a JSON file with a single document, with an embeddings file with an array of 251 numbers.

      Expected Results

      What do you expect to happen?

      No popup should happen.

      Actual Results

      What do you observe is happening?

      Additional Notes

      Any additional information that may be useful to include.

      It seems the issue is in:
      https://github.com/mongodb-js/compass/blob/main/packages/compass-import-export/src/import/import-utils.ts#L93

      It's not considering the logic we have in the proactive insight: https://github.com/mongodb-js/compass/blob/main/packages/compass-schema/src/components/field.tsx#L190

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: