-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Revert "chore: revert tests (#18065)" #18255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit a65a2cb.
| SELECT current_date() = cast(now() as date); | ||
| ---- | ||
| true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the failed test. See #18062 (comment)
This checks current_date must equal now::date after setting timezone = +05:00.
I verified CI passed around 2025-10-23 20:30PM UTC, which was 2025-10-24 01:30AM UTC+5.
(It had failed around 2025-10-14 20:03PM UTC = 2025-10-15 01:03AM UTC+5)
Weijun-H
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @dqkqd
zhuqi-lucas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## Which issue does this PR close? - Relates apache#18062 - Relates apache#18065 ## Rationale for this change We disabled these tests because CI was failing on main. The test: `current_date() = cast(now() as date)` was added in apache#18034 requires `now` to use configured timezone, but it is only available after apache#18017. Since apache#18017 has been merged, these tests should be enable. ## What changes are included in this PR? This reverts commit a65a2cb. ## Are these changes tested? Yes. ## Are there any user-facing changes? No.
## Which issue does this PR close? - Relates apache#18062 - Relates apache#18065 ## Rationale for this change We disabled these tests because CI was failing on main. The test: `current_date() = cast(now() as date)` was added in apache#18034 requires `now` to use configured timezone, but it is only available after apache#18017. Since apache#18017 has been merged, these tests should be enable. ## What changes are included in this PR? This reverts commit a65a2cb. ## Are these changes tested? Yes. ## Are there any user-facing changes? No.
Which issue does this PR close?
current_date() = cast(now() as date);#18062Rationale for this change
We disabled these tests because CI was failing on main.
The test:
current_date() = cast(now() as date)was added in #18034requires
nowto use configured timezone, but it is only available after #18017.Since #18017 has been merged, these tests should be enable.
What changes are included in this PR?
This reverts commit a65a2cb.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.