englefly commented on PR #67549:
URL: https://github.com/apache/doris/pull/67549#issuecomment-6145710366
**复验完成**:本分支代码上 `query_p0/hbo` 全量 = **19 套件 / 8 失败**,与基线一致,且这 8 个全部是既有的
legacy 配置问题(`Config 'hbo_slow_query_threshold_ms' does not exist`);`Failed to
find enough backends` 为 0(这次 BE 全程存活)。之前发现的两个非 legacy
失败都已解决(`hbo_struct_group_level_test` 的 group 级不变性回归 →
已修复;`hbo_filter_fingerprint_granularity_test` 的断言未指明 literal 模式 → 已修正并补强)。
**这一轮(第 4~6 项)的完整验证证据**
- 归一化逐字节对比(全部参考查询的注解集合):0 错误行;**原有 `no_literal` 指纹逐字节未变**(旧注入条目继续命中);唯一新增是
join/agg 的 `with_literal` 条目 —— 这正是"J/A key 常量敏感"的预期结果。
- `select count(*) from t`(存储层聚合)、`limit`、`repeat`(grouping sets)、`union
all`、`except` 的上层 aggregation 均拿到 `type=exact` 指纹。
- `Generate` 进入上层 join 的身份:`G{tf:[Explode(lit(%5B1%2C 2%2C
3%5D:ARRAY<TINYINT>))]}`(参数中的字面量被转义保留、不被 `lit(*)` 折叠)。
- group 级不变性:`T1⋈T2⋈T3` 与 `T1⋈(T2⋈T3)` 的链与聚合指纹一致;两阶段聚合的 `[133]`/`[135]` 指纹相同。
- 单元测试:`GroupStructInfoCompositionTest` 7/7(含 set-op 分支排序/EXCEPT 首孩子、limit
常量不折叠、链信息记忆化)。
**两点已知限制(已在注解中可见,不属于本轮范围)**
1. `order by … limit` 的 join:该重写新建的 `PhysicalHashJoin` 未传播 group id,注解现在报
`no group for PhysicalHashJoin`(修重写本身是另一个改动)。
2. CTE consumer 通过 id 引用 producer、memo 里没有边,仍不受支持并给出明确原因。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]