Skip to content

Result mismatch of weekOfYear #6784

@zml1206

Description

@zml1206

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions