[COMPASS-4971] CSV export omits explicitly included fields Created: 24/Jul/21 Updated: 03/Oct/23 Resolved: 17/Feb/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Import/Export |
| Affects Version/s: | 1.28.1 |
| Fix Version/s: | 1.31.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason R. Coombs | Assignee: | Leonardo Rossi (Inactive) |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
macOS 11.5 |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||||||
| Sprint: | Iteration Seoul, Iteration Utica, Iteration Versailles | ||||||||||||||||||||
| Description |
Since https://jira.mongodb.org/browse/COMPASS-4332 was closed as fixed and not re-opened when users reported that the issue wasn't fixed, and since I encountered the issue with the latest stable release, I'm reporting a new issue.Problem Statement/RationaleThere are two issues: First, when exporting a collection, not all the fields in the collection are present in the selection dialog. It would be nice if the selection dialog included fields at least from the first and last documents of the collection if not a sample of the whole collection. Second, and more importantly, even if one explicitly adds the missing fields to the export, they're not included in the export.
~ $ head -n 2 ~/Desktop/statuses.csv Steps to ReproduceCreate two documents in a collection, {'a': 1} and {'b': 2}. Attempt to export the collection to CSV and have `b` appear in the output. Can't be done. Expected ResultsWhat do you expect to happen? It should be trivial to export the full collection to CSV. Actual ResultsWhat do you observe is happening? Fields are missing from the export. Additional NotesAny additional information that may be useful to include. |
| Comments |
| Comment by Jason R. Coombs [ 08/Apr/22 ] |
|
Confirmed that 1.31.1 does address the issue for explicitly included fields. |
| Comment by Githook User [ 25/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |
| Comment by Githook User [ 23/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |
| Comment by Githook User [ 22/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |
| Comment by Githook User [ 22/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |
| Comment by Githook User [ 18/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |
| Comment by Githook User [ 17/Feb/22 ] |
|
Author: {'name': 'Leonardo Rossi', 'email': 'leonardo.rossi@gmail.com', 'username': 'leorossi'}Message: bug(compass-import-export): Include manually added fields in CSV output |