Skip to content

Commit 70888a4

Browse files
authored
lake: add incremental updates 427 (#22783)
1 parent 69a69e5 commit 70888a4

111 files changed

Lines changed: 4568 additions & 406 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TOC-tidb-cloud-lake.md

Lines changed: 71 additions & 11 deletions
Large diffs are not rendered by default.

tidb-cloud-lake/guides/connect-using-dbeaver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For connections to {{{ .lake }}}, you can use the default `cloudapp` user or an
1919

2020
### Step 1: Obtain {{{ .lake }}} Connection Information
2121

22-
Log in to {{{ .lake }}} to obtain connection information. For more information, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting).
22+
Log in to {{{ .lake }}} to obtain connection information. For more information, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse).
2323

2424
![alt text](/media/tidb-cloud-lake/dbeaver-connect-info.png)
2525

tidb-cloud-lake/guides/data-lifecycle.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ summary: "{{{ .lake }}} supports familiar Data Definition Language (DDL) and Dat
2727
- Grants
2828
- Warehouse
2929
- Task
30+
- [Snapshot Tag](/tidb-cloud-lake/sql/table-versioning.md#snapshot-tags)
3031

3132
## Organizing Data
3233

@@ -35,7 +36,7 @@ Arrange your data in databases and tables.
3536
Key Commands:
3637

3738
- [`CREATE DATABASE`](/tidb-cloud-lake/sql/create-database.md): To create a new database.
38-
- [`ALTER DATABASE`](/tidb-cloud-lake/sql/rename-database.md): To modify an existing database.
39+
- [`ALTER DATABASE`](/tidb-cloud-lake/sql/alter-database.md): To modify an existing database.
3940
- [`CREATE TABLE`](/tidb-cloud-lake/sql/create-table.md): To create a new table.
4041
- [`ALTER TABLE`](/tidb-cloud-lake/sql/alter-table.md): To modify an existing table.
4142

tidb-cloud-lake/guides/deepnote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This tutorial guides you through the process of integrating {{{ .lake }}} with D
1515

1616
### Step 1. Set up Environment
1717

18-
Make sure you can log in to your {{{ .lake }}} account and obtain the connection information for a warehouse. For more details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting).
18+
Make sure you can log in to your {{{ .lake }}} account and obtain the connection information for a warehouse. For more details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse).
1919

2020
### Step 2. Connect to {{{ .lake }}}
2121

tidb-cloud-lake/guides/grafana.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Every column except the timestamp and line column becomes a LogQL label.
7979
- **Database**: The database name containing your log table
8080
- **Warehouse**: The warehouse name
8181

82-
For detailed information on obtaining connection details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting).
82+
For detailed information on obtaining connection details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse).
8383

8484
### Step 3. Configure Grafana Data Source
8585

@@ -128,7 +128,7 @@ For advanced use cases requiring direct SQL access or when working with self-hos
128128
Before you start, ensure you have:
129129

130130
- Grafana installed. Refer to the official installation guide: [https://grafana.com/docs/grafana/latest/setup-grafana/installation](https://grafana.com/docs/grafana/latest/setup-grafana/installation)
131-
- {{{ .lake }}} access with connection information for a warehouse (see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting))
131+
- {{{ .lake }}} access with connection information for a warehouse (see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse))
132132

133133
### Step 2. Modify Grafana Configuration
134134

tidb-cloud-lake/guides/jupyter-notebook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Before you start, ensure that you have [Python](https://www.python.org/) install
237237
238238
### Step 1. Obtain Connection Information
239239
240-
Obtain the connection information from {{{ .lake }}}. For how to do that, refer to [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting).
240+
Obtain the connection information from {{{ .lake }}}. For how to do that, refer to [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse).
241241
242242
### Step 2. Deploy Jupyter Notebook
243243

tidb-cloud-lake/guides/load-tsv.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ summary: TSV (Tab Separated Values) is a simple file format used to store tabula
77

88
## What is TSV?
99

10-
TSV (Tab Separated Values) is a simple file format used to store tabular data, such as a spreadsheet or database. The TSV file format is very similar to CSV, the records are separated by newlines, and each field is separated by a tab.
10+
TSV (Tab Separated Values, called `TEXT` in {{{ .lake }}} `v1.2.890-nightly` and later) is a simple file format used to store tabular data, such as a spreadsheet or database. The TSV file format is very similar to CSV, the records are separated by newlines, and each field is separated by a tab.
11+
1112
The following example shows a TSV file with two records:
1213

1314
```text
@@ -30,6 +31,10 @@ FROM { userStage | internalStage | externalStage | externalLocation }
3031
) ]
3132
```
3233

34+
> **Note:**
35+
>
36+
> Starting in {{{ .lake }}} `v1.2.890-nightly`, `TEXT` is supported as an alias for `TSV`. This guide keeps `TYPE = TSV` in examples so they continue to work on older server versions. If you only target `v1.2.890-nightly` or later, you can use `TYPE = TEXT` instead.
37+
3338
- For more TSV file format options, refer to [TSV File Format Options](/tidb-cloud-lake/sql/input-output-file-formats.md#tsv-options).
3439
- For more COPY INTO table options, refer to [COPY INTO table](/tidb-cloud-lake/sql/copy-into-table.md).
3540

tidb-cloud-lake/guides/mcp-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ cd agent-ui && npm run dev
234234

235235
- **GitHub Repository**: [databendlabs/mcp-databend](https://github.com/databendlabs/mcp-databend)
236236
- **PyPI Package**: [mcp-databend](https://pypi.org/project/mcp-databend)
237-
- **Agno Framework**: [Agno MCP](https://docs.agno.com/tools/mcp/mcp)
237+
- **Agno Framework**: [Agno MCP](https://docs.agno.com/tools/mcp/overview)
238238
- **Agent UI**: [Agent UI](https://docs.agno.com/agent-ui/introduction)

tidb-cloud-lake/guides/metabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This tutorial guides you through the process of integrating {{{ .lake }}} / {{{
3737

3838
To follow along, you'll need to install Metabase with Docker. Before you begin, make sure that Docker is installed on your system.
3939
40-
For this tutorial, you will integrate with {{{ .lake }}}. Make sure you can log in to your TiDB Cloud account and obtain the connection information for a warehouse. For more details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting).
40+
For this tutorial, you will integrate with {{{ .lake }}}. Make sure you can log in to your TiDB Cloud account and obtain the connection information for a warehouse. For more details, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse).
4141
4242
### Step 2. Deploy Metabase
4343

tidb-cloud-lake/guides/mindsdb.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Both {{{ .lake }}} and {{{ .lake }}} can integrate with MindsDB as a data source
1111

1212
## Tutorial-1: Integrating {{{ .lake }}} with MindsDB
1313

14-
Before you start, install a local MindsDB or sign up an account for MindsDB Cloud. This tutorial uses MindsDB Cloud. For more information about how to install a local MindsDB, refer to <https://docs.mindsdb.com/quickstart#1-create-a-mindsdb-cloud-account-or-install-mindsdb-locally>
14+
Before you start, install a local MindsDB or sign up an account for MindsDB Cloud. This tutorial uses MindsDB Cloud. For more information about how to install a local MindsDB, refer to <https://docs.mindsdb.com/quickstart-tutorial>.
1515

1616
### Step 1. Load Dataset into {{{ .lake }}}
1717

@@ -100,7 +100,7 @@ WHERE (NO2 = 0.005)
100100

101101
## Tutorial-2: Integrating {{{ .lake }}} with MindsDB
102102

103-
Before you start, install a local MindsDB or sign up an account for MindsDB Cloud. This tutorial uses MindsDB Cloud. For more information about how to install a local MindsDB, refer to <https://docs.mindsdb.com/quickstart#1-create-a-mindsdb-cloud-account-or-install-mindsdb-locally>
103+
Before you start, install a local MindsDB or sign up an account for MindsDB Cloud. This tutorial uses MindsDB Cloud. For more information about how to install a local MindsDB, refer to <https://docs.mindsdb.com/quickstart-tutorial>.
104104

105105
### Step 1. Load Dataset into {{{ .lake }}}
106106

@@ -143,7 +143,7 @@ COPY INTO pollution_measurement FROM 'https://repo.databend.com/AirPolutionSeoul
143143

144144
> **Tip:**
145145
>
146-
> The SQL statements above connect the database `default` in {{{ .lake }}} to your MindsDB Cloud account. The parameter values can be obtained from the connection information of your warehouse. For more information, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting). For explanations about the parameters, refer to <https://docs.mindsdb.com/data-integrations/all-data-integrations#databend>
146+
> The SQL statements above connect the database `default` in {{{ .lake }}} to your MindsDB Cloud account. The parameter values can be obtained from the connection information of your warehouse. For more information, see [Connecting to a Warehouse](/tidb-cloud-lake/guides/warehouse.md#connecting-to-a-warehouse). For explanations about the parameters, refer to <https://docs.mindsdb.com/data-integrations/all-data-integrations#databend>
147147

148148
2. In the MindsDB Cloud Editor, run the following SQL statements to verify the integration:
149149

0 commit comments

Comments
 (0)