Files
documentdb/pg_documentdb
Parag Jain de314b0b03 Merged PR 1567549: [perf] Reduce Call of MongoQueryFlagsWalker in INSERT PATH
### Does this PR have any customer impact?

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### Are you introducing any new config? If yes, do you have tests with and without them being set?

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Optimize Insert Query try to reduce call of MongoQueryFlagsWalker in INSERT PATH

![image.png](https://msdata.visualstudio.com/ba574a88-a171-48e0-8fcb-5fef6d23739c/_apis/git/repositories/501a5e7e-ffdc-4d1e-a5e6-910f73c6eb9a/pullRequests/1567549/attachments/image.png)

----
#### AI description  (iteration 1)
#### PR Classification
Code optimization

#### PR Summary
This pull request optimizes the planner by reducing unnecessary calls to `MongoQueryFlags` during the INSERT command path.
- `src/planner/documents_planner.c`: Added a condition to skip calling `MongoQueryFlags` if the command type is `CMD_INSERT`.
2025-02-06 09:18:21 -08:00
..
2025-01-31 13:01:15 -08:00