已关闭
[Bug]: [海量数据]【测试类型:SQL功能】【测试版本:7.0.0-RC3】使用writeToBuffer函数写入后输出结果有多余信息 #8374
liao-shiting创建于  8月5日关闭于  9月3日
liao-shiting
liao-shiting
8月5日 创建

测试类型

SQL功能

测试版本

7.0.0-RC3

问题描述

使用writeToBuffer函数写入后输出结果有多余信息

操作系统和硬件信息

image.png

测试环境

企业版单机

被测功能

GMS_XMLDOM

预置条件

操作步骤

DECLARE
doc GMS_XMLDOM.DOMDocument;
ndoc GMS_XMLDOM.DOMNode;
buf VARCHAR2(4000);
x XMLType;
BEGIN
doc := GMS_XMLDOM.newDOMDocument(XMLType('test'));
ndoc := GMS_XMLDOM.makeNode(doc);
GMS_XMLDOM.writeToBuffer(ndoc, buf);
raise notice 'writeToBuffer: %',buf;
GMS_XMLDOM.freeDocument(doc);
END;
/

预期输出

image.png

实际输出

多了xml version信息
image.png

日志信息

无

提单组织

联合伙伴

测试代码

likedislike
opengauss_bot
opengauss_bot成员
8月5日 评论:

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成员
8月5日 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
8月5日 添加了label:sig/StorageEngine,sig/AI,sig/CM,sig/CloudNative,sig/SecurityTechnology,sig/SQLEngine
opengauss_bot
opengauss_bot成员
8月5日 评论:

Welcome To openGauss Community

Hey @liao-shiting , 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, AI, CM, CloudNative, SecurityTechnology, SQLEngine ,
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: @Igali, @bihua111, @cailei19, @h_ray, @levy53071, @libiao2024, @lihaixiao, @mrzack, @wangfeihuo, @wuyuechuan, @xiong_xjun, @zhangfengzhi123, @zhangxubo, @zhangzq131, @zjh_hw .

likedislike
chenbaggio
chenbaggio成员
8月5日 评论:

需修改plpython3u对应的初始化sql函数,消除多余的version信息

likedislike
sungang14sungang14成员
8月6日 issue优先级由 无优先级 改变为 次要
sungang14sungang14成员
8月6日 关联了看板:openGauss 7.0.0-LTS
chenbaggiochenbaggio成员
8月7日 关联了pull request:fix python xmldom version should not be showed if not required
ywzq1161327784ywzq1161327784成员
8月18日 issue状态由 待办的 改变为 已完成
chendong76chendong76成员
8月19日 issue状态由 已完成 改变为 待回归
liao-shitingliao-shiting
9月3日 issue状态由 待回归 改变为 已验收
liao-shitingliao-shiting
9月3日 关闭了 issue
liao-shiting
liao-shiting
9月3日 评论:

验证通过:
image.png
image.png

likedislike