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) Perf ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Migrate date aggregation operators to new aggregation framework. ---- #### AI description (iteration 1) #### PR Classification Performance improvement #### PR Summary This pull request migrates date aggregation operators to a new framework to enhance performance. - `src/operators/bson_expression_date_operators.c`: Refactored functions to separate parsing and execution of date part operators, added new helper functions for handling pre-parsed expressions. - Updated function names to reflect the new parsing and execution separation. - Improved handling of timezone application and constant expression evaluation. Related work items: #3458680