已合并
fix: refine RECORD field EXPLAIN regression coverage #9628
fix: refine RECORD field EXPLAIN regression coverage #9628
已合并
zjj_sc创建于 8月25日
zjj_sc
zjj_sc成员
8月25日

【标题】:
fix: refine RECORD field EXPLAIN regression coverage

【实现内容】:

修复对应的回归测试:将 ruleutils_record 从 parallel_schedule 和 parallel_schedule0 移至 parallel_schedule0C,并增加 EXPLAIN PERFORMANCE 场景。

【根因分析】:

原回归用例放在通用 parallel_schedule 和 parallel_schedule0 尾部,不符合当前回归测试分组要求;同时只覆盖 EXPLAIN VERBOSE,未覆盖 EXPLAIN PERFORMANCE 执行路径。

【实现方案】:

  1. 从 parallel_schedule、parallel_schedule0 移除 ruleutils_record。
  2. 将 ruleutils_record 加入 parallel_schedule0C。
  3. 新增 EXPLAIN PERFORMANCE 查询,验证优化为空的 RECORD 子查询能够回退输出 f2。
  4. 对动态 cost、actual time、CPU cycle 和 total runtime 使用回归框架已有正则格式。

【验证结果】:
定向执行 ruleutils_record:All 1 tests passed。
关联原 PR:https://gitcode.com/opengauss/openGauss-server/pull/9621
【关联需求或issue】:
#8424

【开发自验报告】:

请附上自验结果(内容或者截图)
是否可以添加fastcheck测试用例,如是,请补充fastcheck用例
是否涉及资料修改,如是,在docs仓库补充资料
是否考虑升级场景(系统表修改、日志持久化以及修改执行态数据格式)
是否考虑在线扩容等扩展场景
是否考虑异常场景/并发场景/前向兼容/性能场景
是否对其他模块产生影响
是否需要回合补丁版本(5.0、6.0),涉及(结果错误|coredump|性能劣化|内存泄露|集群异常)相关修复请排查回合补丁分支
针对Plugin仓dolphin插件,新增/修改的代码是否已使用 DOLPHIN 宏进行控制,方便后续回合openGauss-server仓代码
【当前PR是否有AI参与】:
[x] 否
[ ] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :

【其他说明】:

likedislike
Pull Request已成功合入, 合并人@opengauss_bot
(感谢 zjj_sc 的贡献)
opengauss-ci-bot成员
8月25日 评论:

openGauss pipeline is running. Please wait a moment...

likedislike
opengauss_botopengauss_bot成员
8月25日 添加了label:sig/Community
opengauss_bot
opengauss_bot成员
8月25日 评论:

Welcome To openGauss Community

Hey @m0_57849461 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: Community ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .

likedislike
Oopengauss-ci-bot成员
8月25日 添加了label:docs-ci-pipeline-running
Oopengauss-ci-bot成员
8月25日 添加了label:codecheck-running
此处折叠了42条消息 查看更多
opengauss-ci-bot成员
8月25日 评论:

静态检查

Check Name Build Details Check Result Check Detail
CodeCheck #80740 ✅ 通过 >>>
likedislike
Oopengauss-ci-bot成员
8月25日 添加了label:codecheck-success
Oopengauss-ci-bot成员
8月25日 删除了label:codecheck-running
opengauss_botopengauss_bot成员
8月28日 删除了label:sig/Community
opengauss_botopengauss_bot成员
8月28日 添加了label:sig/StorageEnginesig/SQLEnginesig/SecurityTechnologysig/CMsig/CloudNativesig/AI