Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
1.21.2
-
None
Description
When I have a valid pipeline with $size expression that works fine, it can export to Java but not if "Use Builders" is checked then it only works if $size is top level expression. Multiple attempts to export with builders other places where numbers would work give different errors:
Using inside $slice or $range - "$size cannot be top-level"
Using in $toString - "Cannot read property 'push' of undefined"
Attachments
Issue Links
- depends on
-
COMPASS-4695 Bring back builders in export to language for Java
-
- Needs Triage
-
- related to
-
COMPASS-4475 Aggregation tool generating Java code that causes runtime errors
-
- Closed
-