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
[Compatibility]: EXTRACTVALUE rejects MySQL XPath aggregate and composed expressions #29329
MatrixOne should support the MySQL XPath expression subset used by EXTRACTVALUE, including numeric aggregate expressions, scalar comparisons, and positional predicates composed from XPath functions.
The final control expression /a/b[2] is supported by both systems and returns 2.
Additional Information
This is narrower than closed issue #28306, which tracked the prior absence of the entire XML function family. EXTRACTVALUE is now available, but pkg/sql/plan/function/func_xml_xpath.go implements only a subset of the XPath expressions accepted by MySQL.
Activity
fix: support bounded XPath aggregates and MySQL predicate context (#2…
Ariznawlll commentedon Sep 27, 2026
测试版本
main5be6cd90b501da225be591ffffe6000bf01f515e原问题验证
在上述最新 main 上按 issue 原始复现步骤执行,并独立重复 3 次;3/3 均满足修复后的预期。当前 main 已包含修复提交
27ea64ab038c80cfc94ad4368315ab30d21e6d56。Happy Path 覆盖
Unhappy Path 覆盖
白盒验证
确认修复提交
27ea64ab038c80cfc94ad4368315ab30d21e6d56是当前 main 的祖先,并核对对应 MatrixOne BVT/实现路径;本次另以公开 SQL 协议执行黑盒验收。回归测试
已加入 MOTR PR #204 的
issue_29323_29325_29327_29328_29329_29330_29331_sql_contracts.test,MOTR 提交2b4462f2;本地基线比对连续 3 次通过。测试证据
5be6cd90b501da225be591ffffe6000bf01f515e测试结论
测试通过。