MongoDB Compass issue: Unrecognized option to $lookup: let

MongoDB Compass Version 1.19.12 (1.19.12)
Create a pipeline that contains “$lookup: {let:…}”
Export pipeline to Java
Get error:
lookup

No error when exporting to Node, C#, Python3.

Hi @Mingtao_31117,

Can you try with quotes?

Kanika

Strange, I faced the same issue but if I untick “Use Builder” then it works. Looks like some defect in compass :frowning: