-
Notifications
You must be signed in to change notification settings - Fork 588
Result mismatch of weekOfYear #6784
Copy link
Copy link
Closed
Labels
Description
Backend
VL (Velox)
Bug description
select d,weekofyear(d) from values ('2021-12-31'),('2022-01-01') as data(d)
spark:
+----------+-------------+
| d|weekofyear(d)|
+----------+-------------+
|2021-12-31| 52|
|2022-01-01| 52|
gluten:
+----------+-------------+
| d|weekofyear(d)|
+----------+-------------+
|2021-12-31| 52|
|2022-01-01| 53|
Spark version
None
Spark configurations
No response
System information
No response
Relevant logs
No response
Reactions are currently unavailable