[COMPASS-4341] export to Java doesn't like $size expression inside other expressions Created: 29/Jun/20 Updated: 28/Oct/22 |
|
| Status: | Waiting (Blocked) |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | 1.21.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| 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" |