Ticket: Get Comments - Java

When building the aggregation in Compass I try to export it to Java and then I get an error:
Unrecognized option to $lookup: let

Is it a bug or the ticket must be coded without java builders?


Hi @Carlos_55342,

Java uses Aggregates.lookup for $lookup stage. Please read the following documentation page for the reference:


Compass only (for JAVA) exports the pipeline when we uncheck “Use Builders” while exporting.