[COMPASS-4418] Compass has no good way to import array fields from CSV Created: 16/Sep/20  Updated: 29/Oct/23  Resolved: 08/May/23

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: 1.37.0

Type: Bug Priority: Major - P3
Reporter: Anna Henningsen Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Issue Links:
Related
related to COMPASS-5752 Cannot import document with string nu... Closed
related to COMPASS-4548 Compass JSON import object with numbe... Closed
related to COMPASS-6521 Support extended json in CSV fields w... Closed
Epic Link: COMPASS-5576
Documentation Changes: Not Needed

 Description   

When compass exports array fields in a document, it provides them as JSON string output, but there is no way to specify that the field should be interpreted as an array rather than a string when importing back. Adding an “array” type when importing might address this.

Note that mongoimport/mongoexport have the same problem here.

 

(Reported by Renato Riccio in #compass on Slack.)


Generated at Wed Feb 07 22:36:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.