【标题描述】:开启spq多机执行,表字段使用自定义类型时,查询表数据报错
【测试类型:SQL功能】【测试版本:5.1.1】【资源池化】开启spq多机执行,表字段使用自定义类型时,查询表数据报错
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
openEuler release 20.03 (LTS-SP3)
Linux openGauss117 4.19.90-2303.4.0.0193.oe1.aarch64 #1 SMP Wed Mar 22 03:04:16 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
一主两备
【被测功能】:spq多机并行
【测试类型】:功能参数
【数据库版本】(查询命令: gaussdb -V):
gaussdb (openGauss 5.1.1 build 96aca89e) compiled at 2023-10-25 09:59:52 commit 0 last mr
【预置条件】:
gs_guc set -N all -I all -c"shared_preload_libraries='security_plugin,spqplugin'"
spqplugin.enable_spq = on
spqplugin.cluster_map = 'xxx|xxx|xxx|xxx|xxx|xxx,...'
【操作步骤】(请填写详细的操作步骤):
--1.自定义数据类型,建表预置数据
create type zdytype as(a int, b text);
create table t1(c1 int primary key, c2 zdytype);
insert into t1 values(1, (1,'test'));
--2.查询表,执行计划
select * from t1;
explain select * from t1;
--3.关闭spq,查询
set spqplugin.enable_spq to off;
select * from t1;
explain select * from t1;
【预期输出】:步骤2查询表数据成功, 1 | (1,test)
【实际输出】:查询报错 ERROR: invalid syntax for type: ""
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:无
Hi @songjing, 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 .
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hey @songjing, 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.
回归结论:通过
回归版本:gaussdb (openGauss 5.1.1 build 5099d94c) compiled at 2023-11-08 14:52:29 commit 0 last mr
回归日期:2023.11.11
回归步骤:
登录 后才可以发表评论