You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non-ASCII (Arabic/Chinese) column identifiers rejected even when backtick-quoted (error 1064) — v4.0.0-rc2 #25014
8.0.30-OmniFabric-v4.0.0-rc2 (output of SELECT version())
Description
MatrixOne's SQL parser rejects non-ASCII column identifiers / aliases (Arabic, Chinese, …) with error 1064, even when they are backtick-quoted. MySQL 8 accepts backtick-quoted non-ASCII identifiers, so portable SQL that uses them fails on MatrixOne.
ERROR 1064 (HY000): 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 ...
Expected
Backtick-quoted non-ASCII identifiers are accepted (as in MySQL 8), so aliases like `数量` / `الكمية` are usable.
Impact
Hit by a natural-language-to-SQL assistant answering Arabic / Chinese questions: the model sometimes names an alias in the user's language (e.g. SELECT COUNT(*) AS القيمة FROM dim_site), and the whole query fails. The practical workaround is to force ASCII aliases, but accepting backtick-quoted non-ASCII identifiers would match MySQL behavior and avoid the failure.
Closed by the regression coverage merged in #25879. Current main already accepts the reported backtick-quoted Arabic and Chinese aliases; the PR records that behavior and preserves raw client-charset bytes. Broader charset-aware identifier validation remains outside this issue and must happen after COM_QUERY client-charset normalization.
Activity
test(parser): cover quoted Unicode and client charset bytes (#25879)
VioletQwQ-0 commentedon Jul 22, 2026
Closed by the regression coverage merged in #25879. Current
mainalready accepts the reported backtick-quoted Arabic and Chinese aliases; the PR records that behavior and preserves raw client-charset bytes. Broader charset-aware identifier validation remains outside this issue and must happen after COM_QUERY client-charset normalization.test(parser): cover quoted Unicode and client charset bytes (matrixor…
test(parser): cover quoted Unicode and client charset bytes (matrixor…
test(parser): cover quoted Unicode and client charset bytes (matrixor…