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
[Bug]: mo report 'invalid input: missing FROM-clause entry for table 'c'' while mysql can execute successfully. #20000
MySQL oracle:本地 MySQL 8,同一组 customers/orders/order_items/products/categories 数据。
原问题验证
使用原问题所覆盖的五表 JOIN、c.city/cat.category_name 限定别名、ENUM('Delivered',...) 状态列,以及 GROUP BY ... WITH ROLLUP。
普通聚合返回两行:2026/1/Shanghai/Books/20.00、2026/2/Beijing/Games/100.00。ROLLUP 返回 12 行(含 grand total 120.00);MO 与 MySQL 输出逐行一致,没有再出现 missing FROM-clause entry for table c。
Activity
iamlinjunhong commentedon Aug 4, 2026
#26357 已经修复
Ariznawlll commentedon Aug 6, 2026
测试版本
main09e02eea38bfa87e4c4333ffb57b370091136bc8原问题验证
使用原问题所覆盖的五表 JOIN、
c.city/cat.category_name限定别名、ENUM('Delivered',...)状态列,以及GROUP BY ... WITH ROLLUP。普通聚合返回两行:
2026/1/Shanghai/Books/20.00、2026/2/Beijing/Games/100.00。ROLLUP 返回 12 行(含 grand total120.00);MO 与 MySQL 输出逐行一致,没有再出现missing FROM-clause entry for table c。Happy Path 覆盖
ENUM状态谓词过滤。WITH ROLLUP与确定性 ORDER BY。Unhappy Path 覆盖
本 issue 的修复面是别名绑定/聚合执行,不存在合法的业务拒绝路径;已通过
Pending订单验证谓词排除不会污染 Delivered 聚合结果。白盒验证
不适用:该问题由公开 SQL 的 bind/plan/execute 全路径覆盖。
回归测试
suites/14_issue_regression/t/issue_20000_rollup_join_alias.test测试结论
测试通过。
fix(sql): preserve ROLLUP provenance across remote batch transport (#…