已关闭
[Bug]: ogsql Tab 不补全 GS_ENCRYPT 函数名 #301
wuchenlong创建于  7月27日关闭于  27 天前
wuchenlong
wuchenlong成员
7月27日 创建

测试类型

工具功能

测试版本

7.0.0-RC3

操作系统和硬件信息

openEuler 20.03 aarch64

测试环境

资源池化

被测功能

ogsql Tab — 加密函数名 GS_ENCRYPT 补全

预置条件

需求文档:GS_ENCRYPT 为历史敏感词(不入历史),不等于 Tab 补全词表。用户期望在 SQL 编辑时可补全函数名。内置函数表 g_builtinFunctions 未含 GS_ENCRYPT。

操作步骤

SQL> select GS_ENC<Tab><Tab>
SQL> select GS_ENCRYPT('x', 'key') from dual;  -- 对照:语句可执行则函数存在

预期输出

若产品确认加密函数纳入补全:候选含 GS_ENCRYPT(及 GS_DECRYPT)。
若不做:请在 ogsql_instructions 写明「加密函数名不补全」。

实际输出

GS_ENC + Tab×2 → 无 GS_ENCRYPT 候选,行保持 GS_ENC。

说明:与历史过滤(敏感词不入史)独立;当前静态/动态补全源均未提供该函数名。

日志信息

用户手工 #17。PTY 2026-07-27 复核无补全。请产品确认是否加入内置函数或文档明确不支持。

提单组织

测试团队

likedislike
wuchenlongwuchenlong成员
7月27日 添加了label:bug
opengauss_bot
opengauss_bot成员
7月27日 评论:

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成员
7月27日 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
7月27日 添加了label:sig/StorageEngine
opengauss_bot
opengauss_bot成员
7月27日 评论:

Welcome To openGauss Community

Hey @wuchenlong , 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.

Contact Guide

If you have any questions, please contact the SIG: StorageEngine ,
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: @CityYard, @libiao2024, @lijieac, @theothersideofsea, @wang_bowen, @weithu, @xiong_xjun, @yuanyazhi, @zhangzq131 .

likedislike
wuchenlongwuchenlong成员
7月27日 关联了看板:临时看板
chendong76chendong76成员
8月3日 关联了看板:openGauss 7.0.0-LTS
chendong76chendong76成员
8月3日 移除了看板:临时看板
wuchenlongwuchenlong成员
8月3日 issue优先级由 无优先级 改变为 次要
muyulinzhongmuyulinzhong成员
8月4日 将 leweiyang 设为负责人
muyulinzhongmuyulinzhong成员
8月4日 移除了负责人 TestManager
leweiyang
leweiyang成员
8月21日 评论:

已修复
image.png
select GS_ENC

image.png

likedislike
leweiyangleweiyang成员
8月21日 关联了pull request:完善 SQL 对象上下文、类型及函数补全(#289、#290、#295、#299、#301)
leweiyangleweiyang成员
28 天前 issue状态由 待办的 改变为 待回归
wuchenlong
wuchenlong成员
27 天前 评论:

回归版本:oGRAC Release 7.0.0-RC3 18ce0a2 build 2026-08-26 09:48:01
回归环境:oGRAC 双节点(20.20.20.104 / 20.20.20.106),db=ONLINE,节点 20.20.20.104 执行
结论:通过GS_ENC + Tab 可补 GS_ENCRYPT

回归步骤ogsql / as sysdba,Linux TTY)

SQL> select GS_ENC<Tab>

实际输出
行变为 select GS_ENCRYPT,二次 Tab 列表含 GS_ENCRYPT / GS_ENCRYPT_AES128。pty 自动化断言通过。

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