398 Star 1.4K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

【测试类型:SQL功能】【测试版本:3.1.0】 二级分区表分区可以指定tablespace为pg_global

已完成
缺陷
创建于  
2022-11-18 17:02

【标题描述】:
【测试类型:SQL功能/存储功能/接口功能/工具功能/性能/并发/压力长稳/故障注入/安全/资料/编码规范】【测试版本:2.0.0】 问题描述

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
CentOS Linux 7 (Core)
Linux mogdb-dev-011 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

【测试环境】(单机/1主x备x级联备): 单机

【被测功能】:

【测试类型】:

【数据库版本】(查询命令: gaussdb –V):
gaussdb (openGauss 3.1.0 build 152c968e) compiled at 2022-11-15 16:59:35 commit 0 last mr

【预置条件】:

【操作步骤】(请填写详细的操作步骤):
drop table if exists b_range_hash_t01;
create table b_range_hash_t01(c1 int primary key,c2 int,c3 text)
partition by range(c1) subpartition by hash(c2)
(
partition p1 values less than (100)
(
subpartition p1_1 tablespace pg_global,
subpartition p1_2
),
partition p2 values less than (200)
(
subpartition p2_1,
subpartition p2_2
),
partition p3 values less than (300)
(
subpartition p3_1,
subpartition p3_2
)
);

【预期输出】:
期望应该报错提示 ERROR: only shared relations can be placed in pg_global tablespace
【实际输出】:
输入图片说明

【原因分析】:

  1. 这个问题的根因
  2. 问题推断过程
  3. 还有哪些原因可能造成类似现象
  4. 该问题是否有临时规避措施
  5. 问题解决方案
  6. 预计修复问题时间

【日志信息】(请附上日志文件、截图、coredump信息):

【测试代码】:

评论 (3)

zhanbiao.chen 创建了缺陷
展开全部操作日志

Hey @zhanbiao.chen, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.

Hi @zhanbiao.chen, please use the command /sig xxx to add a SIG label to this issue.
For example: /sig sqlengine or /sig storageengine or /sig om or /sig ai and so on.
You can find more SIG labels from Here.
If you have no idea about that, please contact with @xiangxinyong , @zhangxubo .

yansong_lee 负责人设置为pengjiong
yansong_lee 优先级设置为次要
pengjiong 添加协作者pengjiong
pengjiong 负责人pengjiong 修改为李秦朗
李秦朗 任务状态待办的 修改为已确认
李秦朗 任务状态已确认 修改为修复中
李秦朗 通过opengauss/openGauss-server Pull Request !2476任务状态修复中 修改为已完成

验证通过
版本:(openGauss 3.1.0 build e3e241a6) compiled at 2022-12-01 20:09:38 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 7.3.0, 64-bi
输入图片说明

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5622128 opengauss bot 1581905080 Violation
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助