[COMPASS-4111] Export $lookup aggregate to java fails Created: 24/Jan/20  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Export to Language
Affects Version/s: 1.20.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Friso Vrolijken Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by COMPASS-4681 Compass 1.25.0 Java Export To Languag... Closed
Related
related to COMPASS-4475 Aggregation tool generating Java code... Closed
is related to COMPASS-3746 New $lookup syntax for java builder Waiting (Blocked)

 Description   

When I enter the aggregate from the official documentation (https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/#lookup-multiple-joins) I get the expected result. If I than press the "Export Pipeline To Language" everything still looks good. But when I choose "Java" as a language (nice to have: remember this as my language), I get an error saying: Unrecognized option to $lookup: let



 Comments   
Comment by Jessica Sigafoos [ 23/Sep/21 ]

Hi friso.vrolijken@digital-me.nl, are you still seeing this in the most recent version of Compass (1.28.4)?

Comment by Prasad Saya [ 04/May/20 ]

The error occurs only when used with the Use Builders option (check box).

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