已开启
pg迁移vector类型,迁移维度丢失 #187
jianghongbo创建于  2025年3月28日
jianghongbo
jianghongbo成员
2025年3月28日 创建

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

【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):

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

【被测功能】:

【测试类型】:

【数据库版本】(查询命令: gaussdb -V):

【预置条件】:

【操作步骤】(请填写详细的操作步骤):
pg端表结构:
输入图片说明

【预期输出】:
迁移成功,表结构信息不丢失。
【实际输出】:
og端表结构如下,embedding字段类型为vector而不是vector(3),维度丢失,导致创建索引失败。
输入图片说明
【原因分析】:

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

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

【测试代码】:

likedislike
jianghongbojianghongbo成员
2025年3月28日 创建了缺陷
opengauss_bot
opengauss_bot成员
2025年3月28日 评论:

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

likedislike
opengauss_bot
opengauss_bot成员
2025年3月28日 评论:

Hi @hwhbj,
if you want to get quick review about your issue, please contact the owner in first: @ywzq1161327784 ,
and then any of the maintainers: @xiong_xjun
and then any of the committers: @shenzheng4 , @ty2145621 , @woqutech_0 , @totaj , @he-chenghan , @ywzq1161327784 , @wmy_ld , @cinjingce , @justbk
if you have any question, please contact the SIG: Tools.

likedislike
opengauss_botopengauss_bot成员
2025年3月28日 添加了   sig/tools 标签
jianghongbojianghongbo成员
2025年3月28日 关联了openGauss/debezium Pull Request !307
opengauss_botopengauss_bot成员
2025年3月28日 通过合并 Pull Request !307: 修复迁移vector类型,维度丢失的问题 将任务状态从 待办的 修改为已完成
sungang14sungang14成员
2025年4月9日 将提单组织设置为开发
sungang14sungang14成员
2025年4月9日 添加协作者申正
opengauss_botopengauss_bot成员
2025年4月27日 重新打开了 issue
姚小白姚小白成员
2025年8月18日 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
3月20日 删除了label:sig/tools
opengauss_botopengauss_bot成员
3月20日 添加了label:sig/Tools