Skip to content

MySQL function not implemented: OCTET_LENGTH #22996

Closed

Description

@dengn

Function Information

Function Name: OCTET_LENGTH
Category: string

MySQL Function Description

MySQL OCTET_LENGTH function:
OCTET_LENGTH(str) - OCTET_LENGTH() is a synonym for LENGTH().

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

Test Case

SELECT OCTET_LENGTH('text') AS result1

MySQL Documentation

Request

Please implement the OCTET_LENGTH function to improve MySQL compatibility.

Activity

  1. added
    kind/compatibility
    ai-easy
    priority/p0
    on Nov 21, 2025
  2. added this to the MO-202511 milestone on Nov 21, 2025
  3. added a commit that references this issue on Nov 22, 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