Skip to content

Commit 55afb39

Browse files
committed
Merge branch 'refactor-atomic-commmit-upsert-stage-file-info' of github-datengsky:dantengsky/fuse-query into refactor-atomic-commmit-upsert-stage-file-info
2 parents 4b31362 + aef9663 commit 55afb39

File tree

88 files changed

+3338
-1497
lines changed

Some content is hidden

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

88 files changed

+3338
-1497
lines changed

Cargo.lock

Lines changed: 88 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/doc/00-overview/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Welcome
33
slug: /
44
---
5-
import GetLatest from '@site/src/components/GetLatest';
65

76
Welcome to the Databend documentation! Databend is an **open-source**, **elastic**, and **workload-aware** modern cloud data warehouse designed to meet businesses' massive-scale analytics needs at low cost and with low complexity.
87

docs/doc/03-develop/01-python.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ sidebar_label: Python
44
description:
55
Develop with Databend using Python.
66
---
7-
import GetLatest from '@site/src/components/GetLatest';
87

98
Databend offers the following options enabling you to develop applications using the Python programming language and establish connectivity with Databend:
109

docs/doc/14-sql-commands/00-ddl/20-table/10-ddl-create-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ AS SELECT query
8080

8181
Creates a transient table.
8282

83-
Transient tables are used to hold transitory data that does not require a data protection or recovery mechanism. Dataebend does not hold historical data for a transient table so you will not be able to query from a previous version of the transient table with the Time Travel feature, for example, the [AT](./../../20-query-syntax/03-dml-at.md) clause in the SELECT statement will not work for transient tables. Please note that you can still [drop](./20-ddl-drop-table.md) and [undrop](./21-ddl-undrop-table.md) a transient table.
83+
Transient tables are used to hold transitory data that does not require a data protection or recovery mechanism. Dataebend does not hold historical data for a transient table so you will not be able to query from a previous version of the transient table with the Time Travel feature, for example, the [AT](./../../20-query-syntax/03-query-at.md) clause in the SELECT statement will not work for transient tables. Please note that you can still [drop](./20-ddl-drop-table.md) and [undrop](./21-ddl-undrop-table.md) a transient table.
8484

8585
Transient tables help save your storage expenses because they do not need extra space for historical data compared to non-transient tables. See [example](#create-transient-table-1) for detailed explanations.
8686

docs/doc/14-sql-commands/00-ddl/20-table/60-optimize-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Snapshot, segment, and block are the concepts Databend uses for data storage. Da
1414

1515
Databend automatically creates table snapshots upon data updates. A snapshot represents a version of the table's segment metadata.
1616

17-
When working with Databend, you're most likely to access a snapshot with the snapshot ID when you retrieve and query a previous version of the table's data with the [AT](../../20-query-syntax/03-dml-at.md) clause.
17+
When working with Databend, you're most likely to access a snapshot with the snapshot ID when you retrieve and query a previous version of the table's data with the [AT](../../20-query-syntax/03-query-at.md) clause.
1818

1919
A snapshot is a JSON file that does not save the table's data but indicate the segments the snapshot links to. If you run [FUSE_SNAPSHOT](../../../15-sql-functions/111-system-functions/fuse_snapshot.md) against a table, you can find the saved snapshots for the table.
2020

docs/doc/14-sql-commands/00-ddl/20-table/70-ddl-restore-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The capability to restore a table is subject to these conditions:
1414

1515
- You cannot roll back after restoring a table to a prior state, but you can restore the table again to an earlier state.
1616

17-
- Databend recommends this command for emergency recovery only. To query the history data of a table, use the [AT](../../20-query-syntax/03-dml-at.md) clause.
17+
- Databend recommends this command for emergency recovery only. To query the history data of a table, use the [AT](../../20-query-syntax/03-query-at.md) clause.
1818

1919
## Syntax
2020

docs/doc/14-sql-commands/20-query-syntax/01-dml-select.md renamed to docs/doc/14-sql-commands/20-query-syntax/01-query-select.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ SELECT number FROM numbers(3) AS a;
9898

9999
## AT Clause
100100

101-
The AT clause enables you to query previous versions of your data. For more information, see [AT](./03-dml-at.md).
101+
The AT clause enables you to query previous versions of your data. For more information, see [AT](./03-query-at.md).
102102

103103
## WHERE Clause
104104

@@ -142,6 +142,9 @@ SELECT number%2 as c1, number%3 as c2, MAX(number) FROM numbers(10000) GROUP BY
142142

143143
```
144144

145+
146+
`GROUP BY` can be extended with [GROUPING SETS](./07-query-group-by-grouping-sets.md) to do more complex grouping operations.
147+
145148
## HAVING Clause
146149

147150
```sql

docs/doc/14-sql-commands/20-query-syntax/02-dml-with.md renamed to docs/doc/14-sql-commands/20-query-syntax/02-query-with.md

File renamed without changes.

docs/doc/14-sql-commands/20-query-syntax/03-dml-at.md renamed to docs/doc/14-sql-commands/20-query-syntax/03-query-at.md

File renamed without changes.

docs/doc/14-sql-commands/20-query-syntax/04-dml-join.md renamed to docs/doc/14-sql-commands/20-query-syntax/04-query-join.md

File renamed without changes.

0 commit comments

Comments
 (0)