Skip to content

MySQL function not implemented: ELT #22992

Closed
Closed

Description

@dengn

Function Information

Function Name: ELT
Category: string

MySQL Function Description

MySQL ELT function:
ELT(N, str1, str2, str3, ...) - Returns str1 if N = 1, str2 if N = 2, and so on.

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

Test Case

SELECT ELT(1, 'ej', 'Heja', 'hej', 'foo') AS result1

MySQL Documentation

Request

Please implement the ELT function to improve MySQL compatibility.

Activity

  1. added
    priority/p0
    ai-easy
    kind/compatibility
    on Nov 21, 2025
  2. added this to the MO-202511 milestone on Nov 21, 2025
  3. matrix-meow commented on Nov 24, 2025

    @matrix-meow
    Contributor

    Hello @dengn. The bug issue in the BVT test code has not been removed,issues automatically open.

  4. modified the milestones: MO-202511, MO-202602 on Feb 3, 2026
  5. 1 remaining item

  6. gouhongshen commented on Mar 5, 2026

    @gouhongshen
    Contributor

    #23051 has implemented this.

  7. ghost closed this as completedon Mar 5, 2026
  8. matrix-meow commented on Mar 5, 2026

    @matrix-meow
    Contributor

    Hello @dengn. The bug issue in the BVT test code has not been removed,issues automatically open.

  9. Repository owner unassigned on Mar 9, 2026
  10. added a commit that references this issue on Mar 11, 2026
    9403aee
  11. gouhongshen commented on Mar 12, 2026

    @gouhongshen
    Contributor

    done, please help to verify this.

  12. ghost closed this as completedon Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-easykind/compatibilitypriority/p0

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions