Skip to content

Commit 3d62766

Browse files
authored
fix: yearweek bvt (#23068)
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #23049 ## What this PR does / why we need it: yearweek bvt
1 parent 9f71c57 commit 3d62766

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/distributed/cases/function/func_datetime_yearweek.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ sep_week
8080
SELECT YEARWEEK('2008-12-15') AS dec_week;
8181
dec_week
8282
200850
83-
SELECT YEARWEEK(CURRENT_DATE()) AS current_yearweek;
83+
SELECT YEARWEEK('2008-06-15') AS current_yearweek;
8484
current_yearweek
85-
202546
85+
200824
8686
SELECT YEARWEEK(DATE_ADD('1987-01-01', INTERVAL 7 DAY)) AS week_after;
8787
week_after
8888
198701

test/distributed/cases/function/func_datetime_yearweek.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ SELECT YEARWEEK('2008-09-15') AS sep_week;
5454
SELECT YEARWEEK('2008-12-15') AS dec_week;
5555

5656
# With expressions
57-
SELECT YEARWEEK(CURRENT_DATE()) AS current_yearweek;
57+
SELECT YEARWEEK('2008-06-15') AS current_yearweek;
5858
SELECT YEARWEEK(DATE_ADD('1987-01-01', INTERVAL 7 DAY)) AS week_after;
5959

0 commit comments

Comments
 (0)