Skip to content

docs(odbc): add the instructions for using Native and WebSocket connection methods for ODBC#35270

Open
YamingPei wants to merge 2 commits intomainfrom
docs/6665211727
Open

docs(odbc): add the instructions for using Native and WebSocket connection methods for ODBC#35270
YamingPei wants to merge 2 commits intomainfrom
docs/6665211727

Conversation

@YamingPei
Copy link
Copy Markdown
Contributor

Description

Add the instructions for using Native and WebSocket connection methods for ODBC

Issue(s)

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Copilot AI review requested due to automatic review settings April 30, 2026 03:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds ODBC documentation guidance for choosing between Native and WebSocket connection modes, including deprecation messaging and usage constraints, in both Chinese and English connector references.

Changes:

  • Add deprecation notice and explanatory section comparing Native vs WebSocket for ODBC.
  • Add explicit warning that Native and WebSocket connections must not be mixed within the same process.
  • Minor formatting/whitespace adjustments in the existing ODBC docs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
docs/zh/14-reference/05-connector/50-odbc.mdx Adds Native deprecation notice + Native/WebSocket explanation + “cannot mix” warning; also tweaks Markdown formatting.
docs/en/14-reference/05-connector/50-odbc.md Adds the same deprecation/explanation/warnings for English ODBC docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/14-reference/05-connector/50-odbc.md Outdated
Comment thread docs/zh/14-reference/05-connector/50-odbc.mdx
Comment thread docs/zh/14-reference/05-connector/50-odbc.mdx
Comment thread docs/en/14-reference/05-connector/50-odbc.md Outdated
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ODBC documentation in both English and Chinese to announce the deprecation of native connections by 2027-01-01, recommending a migration to WebSocket connections. It also adds information regarding the differences between these connection types and warns that they cannot be used simultaneously within the same process. Feedback was provided regarding incorrect relative links in the Chinese documentation that should point to the local directory index instead of the parent directory.

Comment thread docs/zh/14-reference/05-connector/50-odbc.mdx
Comment thread docs/zh/14-reference/05-connector/50-odbc.mdx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants