mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) N/A ### Description Implement the basic skeleton for $graphLookup under a feature flag. Remaining TODOs: 1) To handle arrays we do a $unwind - move that to doing an $eq/$in based on the input 2) Implement a hash aggregate operator class for BSON so we can use a UNION query instead of UNION ALL 3) Need to validate against jstests 4) Need to handle maxDepth infinite recursion more gracefully with $graphLookup. 5) More testing on dotted paths and arrays 6) Think about cycles Related work items: #1798581