Files
documentdb/internal
Shuai Tian 🚀 8fad30b687 Merged PR 1495735: Update bson_aggregation_date_operators_tests to fix errors
### 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

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

### Description
This test has two cases failed on GitHub.

One related to timezone "Europe/Amsterdam" which has a historical shift from "Amsterdam Mean Time" to Central European time in 1940, update this case to reflect modern timezone rules used now. refer to https://en.wikipedia.org/wiki/Time_in_the_Netherlands

Second one is related to that postgre added a overflow check, but pgmongo is still depending on old versions (15.3 and 16.2). there is a ongoing bugfix for postgre which blocks us from bumping up versions used in pgmongo. For now, we can skip this case.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for failing tests.

#### PR Summary
This pull request addresses errors in the `bson_aggregation_date_operators_tests` by updating test cases to handle overflow checks introduced in newer PostgreSQL minor versions.
- `bson_aggregation_date_operators_tests.out`: Commented out test cases causing overflow errors and added TODOs for future updates.
- `bson_aggregation_date_operators_tests.sql`: Commented out overflow test cases and added TODOs for future updates.
- `helio_compat/expected/bson_aggregation_date_operators_tests.out`: Synchronized changes with the main test output file, including commenting out overflow test cases.

Related work items: #3572010
2024-11-04 17:14:58 +08:00
..