Skip to content

MySQL function not implemented: -> #23006

@dengn

Description

@dengn

Function Information

Function Name: ->
Category: operators

MySQL Function Description

MySQL -> operator:
JSON column path operator

Expected Behavior

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

Current Behavior in MatrixOne

This function is not implemented in MatrixOne.

Error Message: (1064, 'SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 37 near "

Test Case

SELECT JSON_OBJECT('key', 'value') -> '$.key' AS result1

MySQL Documentation

Request

Please implement the -> function to improve MySQL compatibility.

Metadata

Metadata

Assignees

Labels

ai-easyStraightforward for AI; factual or single-step taskskind/compatibilityThe compatibility with mysql 8.0 should be discussed further.parser mysql.ypriority/p0Critical feature that should be implemented in this version

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions