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) BugFix ### 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 ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description PG 17 estimates the cost of Window clauses now based on the approximate number of rows and for that it needs valid frameoptions ---- #### AI description (iteration 1) #### PR Classification Bug fix for compatibility with PostgreSQL 17. #### PR Summary This pull request addresses a bug in the densify function for PostgreSQL 17. - `oss/pg_documentdb/src/aggregation/bson_densify.c`: Added `FRAMEOPTION_DEFAULTS` to `winClause->frameOptions` to ensure proper window function handling. - `oss/internal/pg_documentdb_distributed/src/test/regress/test_mutate_17`: Removed unnecessary test cases related to bson aggregation pipeline stages. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->