tidb-cloud: refresh HATP quickstart and add connection steps to the TiDB Cloud quickstart#23157
tidb-cloud: refresh HATP quickstart and add connection steps to the TiDB Cloud quickstart#23157qiancai wants to merge 2 commits into
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 updates the TiDB Cloud HTAP Quick Start guide to use the Kaggle 'Steam Games Dataset 2021-2025' instead of the previous sample dataset, adding detailed download and import instructions alongside updated SQL queries and execution plans. It also adds a new section to the Quick Start guide on connecting to a starter instance using the MySQL CLI. The review feedback focuses on aligning the new documentation with the style guide by suggesting the use of active voice, present tense, and more concise phrasing, as well as correcting minor grammatical errors.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
|
||
| 1. On the **Import** page, click **Upload a local file**, and then select and upload the downloaded CSV file. | ||
| 2. In the **Destination** section, enter `steam` in the **Database** field and `games` in the **Table** field. | ||
| 3. Click **Define Table**, change the data type of the column `categories` to `TEXT`, and then change the data type of the column `developer` to `TEXT`. |
There was a problem hiding this comment.
Reason: This step is to avoid the following import errors.
CastValueError: when encoding 12712-th data row in file a_steam_data_2021_2025.csv: Value conversion failed for column 'developer'. Expected type: varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin, received value: ?. Reason: [types:1406]Data Too Long, field len 512, data len 584. Please correct the source data and retry.
CastValueError: when encoding 55532-th data row in file a_steam_data_2021_2025.csv: Value conversion failed for column 'categories'. Expected type: varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin, received value: ?. Reason: [types:1406]Data Too Long, field len 512, data len 522. Please correct the source data and retry.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
What is changed, added or deleted? (Required)
tidb-cloud/tidb-cloud-htap-quickstart.md: Refreshed the HTAP quickstart guide:
gametosteamaverage_playtime_forevertorecommendationsgenres,developer)WHERE,HAVING, andLIMITclauses to queriesEXPLAIN ANALYZEoutputs with new execution statisticstidb-cloud/tidb-cloud-quickstart.md: Added a new "Step 4: Connect to your instance" section with MySQL CLI connection instructions.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?