-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
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
- related to
-
COMPASS-7217 Disable unbound array insight for fields with a "vectorEmbedding" index
-
- Closed
-