[COMPASS-4498] Export filter data results in missing data Created: 11/Nov/20  Updated: 26/May/23

Status: Debugging With Submitter
Project: Compass
Component/s: Import/Export
Affects Version/s: 1.23.0
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Felicia Hsieh Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOS 10.14.6


Attachments: PNG File Screen Shot 2020-11-11 at 5.31.03 PM.png     File test1.19.12_filter2.json     File test1.23Beta_filter2.json     File test_1.19.12_filter1.json     File test_1.23Beta_filter1.json    
Issue Links:
Duplicate
duplicates COMPASS-4449 Export Collection Does Not Include Al... Closed
Documentation Changes: Not Needed

 Description   

Problem Description

Exporting filtered results in result in missing documents. Please see the attached files.

The results between 1.19.12 and 1.23.0-beta.2 vary by the format. In addition, it would be preferred to keep the data file format consistent between 1.19.12 and the latest 1.23.0-beta.2 versions (tab indentions).

Steps to Reproduce

Create 3 documents

Use this filter to find 2 documents:

Filter: {_id: {$in: [ObjectId('5fac5b82f450e4e7e5f72cd5'), ObjectId('5fac5b8cf450e4e7e5f72cd6')]}}

Click Collection > Export Collection

Click SELECT FIELDS

Click SELECT OUTPUT

Choose JSON, pick a filename, click EXPORT

Open the file

Expected Results

2 complete documents from the filter above in the exported file.

Actual Results

test1.23Beta_filter2.json is missing the value of the 2nd document's key, value pair.

Additional Notes



 Comments   
Comment by PM Bot [ 26/May/23 ]

Hi felicia.hsieh@mongodb.com! COMPASS-4498 is awaiting your response.

If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!

Comment by PM Bot [ 18/May/23 ]

Hi felicia.hsieh@mongodb.com! COMPASS-4498 is awaiting your response.

If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!

Comment by Rhys Howell [ 13/Nov/20 ]

COMPASS-4449
Should ensure we pull in the fields for export.

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