Skip to content

feat(data_export): register PolarDB For MySQL and OceanBase For Oracle as supported DB types#617

Open
LordofAvernus wants to merge 1 commit into
mainfrom
dms/feat-2815
Open

feat(data_export): register PolarDB For MySQL and OceanBase For Oracle as supported DB types#617
LordofAvernus wants to merge 1 commit into
mainfrom
dms/feat-2815

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

@LordofAvernus LordofAvernus commented May 13, 2026

User description

Summary

  • Register DBTypePolarDBForMySQL and DBTypeOceanBaseOracle as new DB type constants
  • Add both types to ParseDBType function and supportedDataExportDBTypes map
  • Enables data export support for PolarDB For MySQL and OceanBase For Oracle instances

Fixes https://github.com/actiontech/sqle-ee/issues/2815


Description

  • 添加对 "PolarDB For MySQL" 与 "OceanBase For Oracle" 的数据导出支持

  • 修改 ParseDBType 函数,增加新类型判断分支

  • 在 supportedDataExportDBTypes 中登记新 DB 类型


Diagram Walkthrough

flowchart LR
  A["新增 DB 类型解析"]
  B["增加新常量定义"]
  C["更新支持的 DB 类型映射"]
  A -- "调用" --> B
  B -- "登记" --> C
Loading

File Walkthrough

Relevant files
Enhancement
const.go
更新解析函数和常量定义                                                                                           

internal/dms/pkg/constant/const.go

  • 在 ParseDBType 函数中加入 "PolarDB For MySQL" 与 "OceanBase For Oracle" case
    分支
  • 添加 DBTypePolarDBForMySQL 和 DBTypeOceanBaseOracle 常量定义
  • 更新 supportedDataExportDBTypes 映射以支持新类型
+10/-2   

@actiontech-bot actiontech-bot requested a review from iwanghc May 13, 2026 09:06
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

PR Reviewer Guide 🔍

(Review updated until commit ca4678b)

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

@github-actions
Copy link
Copy Markdown

Persistent review updated to latest commit ca4678b

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant