Skip to content

MySQL function not implemented: YEARWEEK #22990

Closed
Closed

Description

@dengn

Function Information

Function Name: YEARWEEK
Category: date

MySQL Function Description

MySQL YEARWEEK function:
YEARWEEK(date), YEARWEEK(date, mode) - Returns year and week for a date.

Expected Behavior

Expected behavior:
According to MySQL documentation, the function should return correct results.

Current Behavior in MatrixOne

This function is not implemented in MatrixOne.

Error Message: (20105, "not supported: function or operator 'yearweek'")

Test Case

SELECT YEARWEEK('1987-01-01') AS result1

MySQL Documentation

Request

Please implement the YEARWEEK function to improve MySQL compatibility.

Activity

  1. added
    priority/p0
    kind/compatibility
    ai-easy
    on Nov 21, 2025
  2. added this to the MO-202511 milestone on Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-easykind/compatibilitypriority/p0

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions