已关闭
[Bug]: explain performance 报错 #8424
zjj_sc创建于  11 天前关闭于  6 天前
zjj_sc
zjj_sc
11 天前 创建

测试类型

SQL功能

测试版本

7.0.0LTS

问题描述

详见文章:https://mp.weixin.qq.com/s/Y5PsLdxDmvoDPHZI0jQqag

操作系统和硬件信息

2403 arm

测试环境

企业版单机

被测功能

预置条件

操作步骤

连接数据库执行
explain select * from information_schema.parameters where specific_name = null ; -- 执行正常
explain analyze select * from information_schema.parameters where specific_name = null ; -- 执行正常
explain verbose select * from information_schema.parameters where specific_name = null ; -- 执行失败
explain performance select * from information_schema.parameters where specific_name = null ; -- 执行失败

预期输出

image.png
或者使用verbose也可:
image.png

实际输出

原来的执行bug复现:
image.png

日志信息

提单组织

内部开发

测试代码

likedislike
opengauss_bot
opengauss_bot成员
11 天前 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
11 天前 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
11 天前 添加了label:sig/StorageEngine,sig/AI,sig/CM,sig/CloudNative,sig/SecurityTechnology,sig/SQLEngine
opengauss_bot
opengauss_bot成员
11 天前 评论:

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: StorageEngine, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
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
zjj_sczjj_sc
11 天前 修改了issue 的描述
此处折叠了15条事件消息 查看更多
zjj_sczjj_sc
9 天前 issue状态由 已完成 改变为 待回归
zjj_sc
zjj_sc
9 天前 评论:

e6b86573ad575304451681b633458283.png
9929bbd3505bcd92674d1914d8fad0ff.png

环境:openEuler 20.03 aarch64
转测包:openGauss7.0.0.B020
构建提交:93bfec54
验证实例:single_node,端口 5832
验证内容:

  1. EXPLAIN VERBOSE 优化为空的 RECORD 子查询,执行成功;
  2. EXPLAIN PERFORMANCE 执行成功;
    未出现 failed to find plan for subquery/CTE。
    结果:通过。
likedislike
陈博达
陈博达
6 天前 评论:

测试版本

openGauss7.0.0.B020

操作系统和硬件信息

2403 arm

测试环境

企业版单机

操作步骤

连接数据库执行
explain select * from information_schema.parameters where specific_name = null ; -- 执行正常
explain analyze select * from information_schema.parameters where specific_name = null ; -- 执行正常
explain verbose select * from information_schema.parameters where specific_name = null ; -- 执行成功
explain performance select * from information_schema.parameters where specific_name = null ; -- 执行成功

验证结果

image.png
通过

likedislike
liuzhen001liuzhen001成员
6 天前 issue状态由 待回归 改变为 已验收
liuzhen001liuzhen001成员
6 天前 关闭了 issue