Invalid reference when using group on lookup pipeline #4647
Labels
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
Running a lookup with pipeline and including an group stage results in invalid reference for the group id field:
org.springframework.dao.InvalidDataAccessApiUsageException: Invalid reference 'myField'
Running the same stage in mongo shell returns the correct results.
The objects from target collection
my-collection
look like this:If I remove the group field reference the stage works, but of course wrong results will be returned
The text was updated successfully, but these errors were encountered: