lake: update ecosystem integrations#22874
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Code Review
This pull request renames the command-line tool 'BendSQL' to 'LakeSQL' across the documentation, including updates to repository URLs, installation commands, and environment variables. The review feedback identifies several instances in example outputs where the old naming or external documentation links were missed, specifically in ASCII art headers and help text.
Replace databend driver references with lake equivalents across tidb-cloud-lake guides. Updated package names, import paths, dependency coordinates (Go, Java, Node.js, Python, Rust), JDBC artifactId, example import lines, and registry/GitHub links in connect guides, driver-overview, load-from-local-file, and Tableau docs to reflect lake-* drivers and tidbcloud repositories.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
/hold |
Align docs and examples with TiDB Cloud Lake naming and new artifacts: update Java Maven groupId to com.tidbcloud and JDBC version (0.4.1 -> 0.4.6), change Gradle groupId to com.tidbcloud; switch LakeSQL installer URL to lakesql-bin.tidbcloud.com and hide the non-public Homebrew tap; rename Python BlockingDatabendClient to BlockingLakeClient; replace Rust crate tidbcloudlake-driver with lake-driver (0.1.5-alpha.2) and update imports/comments; change local file load placeholder from @_lake_load to @_tidbcloud_load across CLI, Python and Java examples; and update Tableau docs Maven path to com/tidbcloud. These changes standardize package names, binary source, and example placeholders to reflect product/packaging changes.
Replace distro-specific DEB822/legacy Apt instructions with a unified Apt repository setup: add the lakesql archive keyring, create a signed sources.list entry, and use apt-get update/install (with -y). This simplifies installation on Ubuntu/Debian and removes the old-format examples.
In tidb-cloud-lake/guides/driver-overview.md, update example package names to match current branding: replace `databend-sqlalchemy` with `lake-sqlalchemy` for Python and `databend-go` with `lake-go` for Go. This keeps the driver overview accurate and aligned with the published package names.
Remove two MCP-related links from the AI and ML Integration section in TOC-tidb-cloud-lake.md: 'MCP Server' and 'MCP Client Integration'. Cleans up the table of contents by removing these MCP entries.
|
Note Reason for f8554df: The corresponding lake-mcp repo is not public now. |
|
|
||
| ```shell | ||
| ❯ bendsql --query='INSERT INTO book_db.books from @_databend_load file_format=(type=csv)' --data=@books.csv | ||
| ❯ lakesql --query='INSERT INTO book_db.books from @_tidbcloud_load file_format=(type=csv)' --data=@books.csv |
| import java.sql.Statement; | ||
| import java.io.FileInputStream; | ||
| import java.nio.file.Files; | ||
| import com.databend.jdbc.DatabendConnection; |
| | **[Go](/tidb-cloud-lake/guides/connect-using-golang.md)** | `lake-go` | • database/sql interface<br/>• Connection pooling<br/>• Bulk operations | | ||
| | **[Node.js](/tidb-cloud-lake/guides/connect-using-node-js.md)** | `tidbcloudlake-driver` | • TypeScript support<br/>• Promise-based API<br/>• Streaming results | | ||
| | **[Java](/tidb-cloud-lake/guides/connect-using-java.md)** | `lake-jdbc` | • JDBC 4.0 compatible<br/>• Connection pooling<br/>• Prepared statements | | ||
| | **[Rust](/tidb-cloud-lake/guides/connect-using-rust.md)** | `tidbcloudlake-driver` | • Async/await support<br/>• Type-safe queries<br/>• Zero-copy deserialization | |
There was a problem hiding this comment.
| | **[Rust](/tidb-cloud-lake/guides/connect-using-rust.md)** | `tidbcloudlake-driver` | • Async/await support<br/>• Type-safe queries<br/>• Zero-copy deserialization | | |
| | **[Rust](/tidb-cloud-lake/guides/connect-using-rust.md)** | `lake-driver` | • Async/await support<br/>• Type-safe queries<br/>• Zero-copy deserialization | |
There was a problem hiding this comment.
待确认包名是 https://crates.io/crates/lake-driver lake-driver
Co-authored-by: awxxxxxx <7347183+awxxxxxx@users.noreply.github.com>
Co-authored-by: awxxxxxx <7347183+awxxxxxx@users.noreply.github.com>
Co-authored-by: awxxxxxx <7347183+awxxxxxx@users.noreply.github.com>
Co-authored-by: awxxxxxx <7347183+awxxxxxx@users.noreply.github.com>
|
|
||
| ```gradle | ||
| implementation 'com.databend:databend-jdbc:0.4.1' | ||
| implementation 'com.tidbcloud:lake-jdbc:0.4.1' |
There was a problem hiding this comment.
| implementation 'com.tidbcloud:lake-jdbc:0.4.1' | |
| implementation 'com.tidbcloud:lake-jdbc:0.4.6' |


What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?