[SERVER-26404] lookup for array inside a subdocument Created: 30/Sep/16  Updated: 22/Mar/19  Resolved: 10/Oct/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 3.3.14
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Xinghua Wu Assignee: Charlie Swanson
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File sample_query.rar     File sample_query.tar.gz    
Issue Links:
Duplicate
duplicates SERVER-23754 $unwind should error when it encounte... Backlog
Participants:

 Description   

I've posted a comment on SERVER-22881 about query data with lookup for array in subdocument.
The result is not exptected.The sample data and my expected result are included in attachment.

Regards.



 Comments   
Comment by Charlie Swanson [ 10/Oct/16 ]

Hi sweetwxh,

It looks like you've run into the problem described in SERVER-23754 and the related SERVER-6436. Your unwind of "$obj.obj" doesn't work the way you expect.

I've closed this issue as a duplicate of SERVER-23754, please watch that ticket for further updates, thanks!

Comment by Kelsey Schubert [ 30/Sep/16 ]

Hi sweetwxh,

Thank you opening this ticket and providing a detailed example. I've assigned this bug to the Query team for additional investigation of this issue. Please continue to watch this ticket for updates.

Kind regards,
Thomas

Generated at Thu Feb 08 04:12:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.