Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨No code suggestions found for the PR. |
BugsGuru
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
支持 Issue #2868 GaussDB 数据导出, 在 dms CE 公共常量层与 CloudBeaver 桥层落地以下改动:
GaussDB / openGauss收紧为GaussDB(PostgreSQL 协议, sqle-gaussdb-plugin 注册 SQLE driver; dms-ee 数据导出经 openGauss 官方 Go 驱动直连)GaussDB for MySQL(MySQL 协议, 与 DBTypeGaussDB 完全独立, 走 MySQL 驱动)GaussDB/GaussDB for MySQL两个 case, 修正历史误归类GaussDB/GaussDB for MySQL双键覆盖; 顺手修正 TestParseDBType_PolarDB 中 DBTypePolarDBMySQL -> DBTypePolarDBForMySQLEE 侧 (dms-ee 仓库) 在 dataQuery 层独立实现 NewGaussDBConn(), 通过 openGauss 官方 Go 驱动 (注册名
opengauss) 解决华为云 GaussDB 商业版 RFC5802 SHA-256 / SM3 私有认证机制 lib/pq 不兼容的问题, 对应 PR: actiontech/dms-ee#pr-ee-2868.Fixes actiontech/sqle-ee#2868
Test plan
Description
拆分 GaussDB 与 GaussDB for MySQL
修改常量定义及映射
更新单元测试覆盖新分支
Diagram Walkthrough
File Walkthrough
const.go
分离 GaussDB 与 GaussDB for MySQL 常量定义internal/dms/pkg/constant/const.go
const_test.go
更新测试用例验证拆分逻辑internal/dms/pkg/constant/const_test.go