Skip to content

MySQL function not implemented: ORD #22941

Closed
Closed

Description

@dengn

Function Information

Function Name: ORD
Category: string

MySQL Function Description

MySQL ORD function:
ORD(str) - If the leftmost character of the string str is a multibyte character, returns the code for that character.

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 'ord'")

Test Case

SELECT ORD('A') AS result1

MySQL Documentation

Request

Please implement the ORD function to improve MySQL compatibility.

Activity

  1. added a commit that references this issue on Nov 21, 2025
  2. added
    priority/p0
    ai-easy
    kind/compatibility
    on Nov 21, 2025
  3. added this to the MO-202511 milestone on Nov 21, 2025
  4. fengttt commented on Nov 24, 2025

    @fengttt
    Contributor

    Done

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