Skip to content

Add $year, $month, $week, $hour tests#685

Open
danielfrankcom wants to merge 4 commits into
documentdb:mainfrom
danielfrankcom:pr/time-1
Open

Add $year, $month, $week, $hour tests#685
danielfrankcom wants to merge 4 commits into
documentdb:mainfrom
danielfrankcom:pr/time-1

Conversation

@danielfrankcom

Copy link
Copy Markdown
Collaborator

This change adds tests for the $year, $month, $week, and $hour expressions. They were originally authored by @mitchell-elholm.

Closes #324, #321, #323, #315

danielfrankcom and others added 4 commits July 14, 2026 12:47
This change adds tests for the $year expression. It was originally
authored by @mitchell-elholm.

Closes documentdb#324

Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $month expression. It was originally
authored by @mitchell-elholm.

Closes documentdb#321

Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $week expression. It was originally
authored by @mitchell-elholm.

Closes documentdb#323

Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $hour expression. It was originally
authored by @mitchell-elholm.

Closes documentdb#315

Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom danielfrankcom requested a review from a team as a code owner July 14, 2026 19:58
@documentdb-triage-tool documentdb-triage-tool Bot added the compatibility test Compatibility test related label Jul 14, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: compatibility test, enhancement
Project fields suggested: Component test-coverage · Priority P2 · Effort XL · Status Needs Review
Confidence: 0.90 (mixed)

Reasoning

component from path globs (test-coverage); effort from diff stats (6169+0 LOC, 36 files); LLM: Adds new compatibility test coverage for four date expression operators ($year, $month, $week, $hour), spanning multiple test files but within a single component.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

@documentdb-triage-tool documentdb-triage-tool Bot added the enhancement New feature or request label Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add compatibility test for $year

1 participant