已开启
[USTORE加固测试] Ustore 系统列/TABLESAMPLE/ustore_attr 资料缺口合集 #7303
wuchenlong创建于  24 天前
wuchenlong
wuchenlong成员
24 天前 创建

测试类型

资料

测试版本

7.0.0LTS

操作系统和硬件信息

openEuler release 24.03 (LTS-SP2) aarch64

测试环境

docs

操作步骤

本单汇总 Ustore 加固测试中开发已确认的资料缺口(临时仓 #46/#47/#48)。请按条修订手册。

1)系统列 × Ustore(临时 #48)

CREATE TABLE t_cmin(id int) WITH (storage_type=ustore);
INSERT INTO t_cmin VALUES (1);
SELECT xmin, xmax, ctid FROM t_cmin;  -- 可用
SELECT cmin, cmax FROM t_cmin;        -- 报错不支持

文档未给出「系统列 × 存储引擎」能力说明。

2)TABLESAMPLE 与 Ustore 分区表(临时 #46)

-- Ustore 堆表:TABLESAMPLE 可用
-- Ustore 分区表 / PARTITION() 扫描:
SELECT count(*) FROM ts_part TABLESAMPLE BERNOULLI(50);
-- ERROR:  Ustore not support table sampling yet

select.md TABLESAMPLE 写明表名可为分区表,未写 Ustore 分区表限制;错误串写成「Ustore」整体不支持采样,与堆表可用不符。

3)ustore_attr 取值与 gs_guc(临时 #47,按开发复核口径)

  • ustore_attr 布尔子键仅接受 true/false(例如 enable_ustore_partial_seqscan=true 可 SET;=on 会报 invalid),与普通布尔 GUC 接受 on/off 的习惯不一致,文档宜写清。
  • 发布版不支持的子键(如 ustore_unit_test)应在文档标注或移除。
  • gs_guc 对非法 ustore_attr 子键/值仍可能报 Success 并写入 postgresql.conf;reload 可能静默忽略,restart 可能导致实例无法启动——文档宜警示(或工具侧增加校验)。
SET ustore_attr = 'enable_ustore_partial_seqscan=on';    -- invalid
SET ustore_attr = 'enable_ustore_partial_seqscan=true';  -- 可成功

实际输出

-- cmin/cmax:
ERROR:  cmin, and cmax are not supported for ustore tuples

-- Ustore 分区表 TABLESAMPLE:
ERROR:  Ustore not support table sampling yet

-- ustore_attr 使用 on:
ERROR:  invalid value for parameter "ustore_attr": ...
-- 使用 true:SET 成功

日志信息

临时仓 #46/#47/#48 开发已确认(#47 按复核口径修正,非原「虚列」表述)。本单为新开资料合集,不追加历史 docs#7300。

提单组织

测试团队

likedislike
wuchenlongwuchenlong成员
24 天前 添加了label:bug
opengauss_bot
opengauss_bot成员
24 天前 评论:

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成员
24 天前 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
24 天前 添加了label:sig/Docs
opengauss_bot
opengauss_bot成员
24 天前 评论:

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. 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: Docs ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @libiao2024, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @Evawudonger, @fyq_lpl, @hemiao3787, @hujunjune, @hw_hbj, @lestertt, @libiao2024, @mentoswang, @sunyunyu, @tongdabao, @wangfeihuo, @zhangxubo, @zijianli16 .

likedislike
wuchenlongwuchenlong成员
24 天前 修改标题为 “[USTORE加固测试] Ustore 系统列/TABLESAMPLE/ustore_attr 资料缺口合集”,原标题为“[Bug]: [USTORE加固测试] Ustore 系统列/TABLESAMPLE/ustore_attr 资料缺口合集”
wuchenlongwuchenlong成员
24 天前 关联了看板:openGauss 8.0.0-RC1
wuchenlongwuchenlong成员
24 天前 将 xudabiao2024 设为负责人
wuchenlongwuchenlong成员
24 天前 移除了负责人 TestManager
wuchenlongwuchenlong成员
24 天前 issue优先级由 无优先级 改变为 次要
xudabiao2024xudabiao2024成员
21 天前 关联了pull request:fix ustore doc problem
xudabiao2024
xudabiao2024成员
18 小时前 评论:

验证结果:通过
image.png
image.png
image.png

likedislike
xudabiao2024xudabiao2024成员
18 小时前 issue状态由 待办的 改变为 待回归