Files
documentdb/pg_documentdb
Deepak Bisht 6207072048 Merged PR 1632713: Add insert test for duplicate fields and add comments on server behavior with duplicate fields for inserts
### Does this PR have any customer impact?
No

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

### 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

- Add insert command duplicate field backend test

----
#### AI description  (iteration 1)
#### PR Classification
New feature and documentation.

#### PR Summary
This pull request adds tests for inserting documents with duplicate fields and documents the server behavior regarding such inserts.
- Added tests in `commands_insert.out` and `commands_insert.sql` to verify the server does not deduplicate documents with duplicate fields.
- Updated `insert.c` to document that the server does not attempt to deduplicate documents during insertion.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-04-23 12:04:26 +08:00
..