Skip to content

Commit

Permalink
Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhaihe committed Dec 17, 2024
1 parent a474467 commit fe37539
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/cbdb-linux-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Take the following steps to compile and install Apache Cloudberry:
1. [Clone GitHub repo](#step-1-clone-github-repo).
2. [Install dependencies](#step-2-install-dependencies).
3. [Perform prerequisite platform tasks](#step-3-perform-prerequisite-platform-tasks).
4. [Build Apache Cloudberry](#step-4-build-apache-database).
4. [Build Apache Cloudberry](#step-4-build-apache-cloudberry).
5. [Verify the cluster](#step-5-verify-the-cluster).

## Step 1. Clone GitHub repo
Expand Down
2 changes: 1 addition & 1 deletion docs/cbdb-op-deploy-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The example in this document uses CentOS 7.6 and deploys Apache Cloudberry v1.0.
1. [Prepare node servers](#step-1-prepare-server-nodes).
2. [Install the RPM package](#step-2-install-the-rpm-package).
3. [Configure mutual trust between nodes](#step-3-configure-mutual-trust-between-nodes).
4. [Initialize the database](#step-4-initialize-cloudberry-database).
4. [Initialize the database](#step-4-initialize-apache-cloudberry).
5. [Log into the database](#step-5-log-into-apache-cloudberry).

## Step 1: Prepare server nodes
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Apache Cloudberry does not support functions that return a table reference (`ran

## Built-in functions and operators

The following table lists the categories of built-in functions and operators supported by PostgreSQL. All functions and operators are supported in Apache Cloudberry as in PostgreSQL with the exception of `STABLE` and `VOLATILE` functions, which are subject to the restrictions noted in [Apache Cloudberry Function Types](#topic27). See the [Functions and Operators](https://www.postgresql.org/docs/14/functions.html) section of the PostgreSQL documentation for more information about these built-in functions and operators.
The following table lists the categories of built-in functions and operators supported by PostgreSQL. All functions and operators are supported in Apache Cloudberry as in PostgreSQL with the exception of `STABLE` and `VOLATILE` functions, which are subject to the restrictions noted in [Apache Cloudberry Function Types](#built-in-functions-and-operators). See the [Functions and Operators](https://www.postgresql.org/docs/14/functions.html) section of the PostgreSQL documentation for more information about these built-in functions and operators.

|Operator/Function Category|VOLATILE Functions|STABLE Functions|Restrictions|
|--------------------------|------------------|----------------|------------|
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/json-functions-and-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Apache Cloudberry includes built-in functions and operators that create and mani
- [JSON operators](#json-operators)
- [JSON creation functions](#json-creation-functions)
- [JSON aggregate functions](#json-aggregate-functions)
- [JSON processing functions](#json-processing-functions)
- [JSON processing functions](#sqljson-path-language)

### JSON operators

Expand Down
2 changes: 1 addition & 1 deletion docs/sql-stmts/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Specifies the newline used in your data files — `LF` (Line feed, 0x0A), `CR` (

**`CSV`**

Selects Comma Separated Value (CSV) mode. See [CSV Format](#section9).
Selects Comma Separated Value (CSV) mode. See [CSV Format](#file-formats).

**`FILL MISSING FIELDS`**

Expand Down
6 changes: 3 additions & 3 deletions docs/sql-stmts/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,11 @@ If an existing_window_name is specified, it must refer to an earlier entry in th

**`PARTITION BY`**

The `PARTITION BY` clause organizes the result set into logical groups based on the unique values of the specified expression. The elements of the `PARTITION BY` clause are interpreted in much the same fashion as elements of a [GROUP BY Clause](#groupbyclause), except that they are always simple expressions and never the name or number of an output column. Another difference is that these expressions can contain aggregate function calls, which are not allowed in a regular `GROUP BY` clause. They are allowed here because windowing occurs after grouping and aggregation. When used with window functions, the functions are applied to each partition independently. For example, if you follow `PARTITION BY` with a column name, the result set is partitioned by the distinct values of that column. If omitted, the entire result set is considered one partition.
The `PARTITION BY` clause organizes the result set into logical groups based on the unique values of the specified expression. The elements of the `PARTITION BY` clause are interpreted in much the same fashion as elements of a [GROUP BY Clause](#the-group-by-clause), except that they are always simple expressions and never the name or number of an output column. Another difference is that these expressions can contain aggregate function calls, which are not allowed in a regular `GROUP BY` clause. They are allowed here because windowing occurs after grouping and aggregation. When used with window functions, the functions are applied to each partition independently. For example, if you follow `PARTITION BY` with a column name, the result set is partitioned by the distinct values of that column. If omitted, the entire result set is considered one partition.

**`ORDER BY`**

Similarly, the elements of the `ORDER BY` list are interpreted in much the same fashion as elements of an [ORDER BY Clause](#orderbyclause), except that the expressions are always taken as simple expressions and never the name or number of an output column.
Similarly, the elements of the `ORDER BY` list are interpreted in much the same fashion as elements of an [ORDER BY Clause](#the-order-by-clause), except that the expressions are always taken as simple expressions and never the name or number of an output column.

> **Note** The elements of the `ORDER BY` clause define how to sort the rows in each partition of the result set. If omitted, rows are returned in whatever order is most efficient and may vary.
Expand Down Expand Up @@ -869,7 +869,7 @@ Apache Cloudberry recognizes functional dependency (allowing columns to be omitt

**LIMIT and OFFSET**

The clauses `LIMIT` and `OFFSET` are Apache Cloudberry-specific syntax, also used by MySQL. The SQL:2008 standard has introduced the clauses `OFFSET .. FETCH {FIRST|NEXT} ...` for the same functionality, as shown above in [LIMIT Clause](#limitclause). This syntax is also used by IBM DB2. (Applications for Oracle frequently use a workaround involving the automatically generated `rownum` column, which is not available in Apache Cloudberry, to implement the effects of these clauses.)
The clauses `LIMIT` and `OFFSET` are Apache Cloudberry-specific syntax, also used by MySQL. The SQL:2008 standard has introduced the clauses `OFFSET .. FETCH {FIRST|NEXT} ...` for the same functionality, as shown above in [LIMIT Clause](#the-limit-clause). This syntax is also used by IBM DB2. (Applications for Oracle frequently use a workaround involving the automatically generated `rownum` column, which is not available in Apache Cloudberry, to implement the effects of these clauses.)

**FOR NO KEY UPDATE, FOR UPDATE, FOR SHARE, and FOR KEY SHARE**

Expand Down
2 changes: 1 addition & 1 deletion docs/sys-utilities/gpaddmirrors.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ A configuration file containing one line for each mirror segment you want to cre
<contentID>|<address>|<port>|<data_dir>
```
Where `<contentID>` is the segment instance content ID, `<address>` is the hostname or IP address of the segment host, `<port>` is the communication port, and `<data_dir>` is the segment instance data directory. For information about using a hostname or IP address, see [Specifying Hosts using Hostnames or IP Addresses](#specifying-hosts-using-hostnames-or-ip-addresses). Also, see [Using Host Systems with Multiple NICs](#using-host-systems-with-multiple-nics).
Where `<contentID>` is the segment instance content ID, `<address>` is the hostname or IP address of the segment host, `<port>` is the communication port, and `<data_dir>` is the segment instance data directory. For information about using a hostname or IP address, see [Specifying Hosts using Hostnames or IP Addresses](#specify-hosts-using-hostnames-or-ip-addresses). Also, see [Using Host Systems with Multiple NICs](#use-host-systems-with-multiple-nics).
**`-l logfile_directory`**
Expand Down
2 changes: 1 addition & 1 deletion docs/sys-utilities/gpexpand.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ This file can contain hostnames with or without network interfaces specified. Th

> **Note** The Apache Cloudberry segment host naming convention is `sdwN` where `sdw` is a prefix and `N` is an integer. For example, `sdw1`, `sdw2` and so on. For hosts with multiple interfaces, the convention is to append a dash (`-`) and number to the host name. For example, `sdw1-1` and `sdw1-2` are the two interface names for host `sdw1`.
For information about using a hostname or IP address, see [Specifying Hosts using Hostnames or IP Addresses](#specify-hosts-using-hostnames-or-ip-addresses). Also, see [Using Host Systems with Multiple NICs](#using-host-systems-with-multiple-nics).
For information about using a hostname or IP address, see [Specifying Hosts using Hostnames or IP Addresses](#specify-hosts-using-hostnames-or-ip-addresses). Also, see [Using Host Systems with Multiple NICs](#use-host-systems-with-multiple-nics).

**`-i | --input input_file`**

Expand Down
2 changes: 1 addition & 1 deletion docs/sys-utilities/psql.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ The new query buffer is then re-parsed according to the normal rules of `psql`,
If a line number is specified, `psql` will position the cursor on the specified line of the file or query buffer. Note that if a single all-digits argument is given, `psql` assumes it is a line number, not a file name.
See [Environment](#section17) for information about configuring and customizing your editor.
See [Environment](#environment) for information about configuring and customizing your editor.
**`\echo text [ ... ]`**
Expand Down
6 changes: 0 additions & 6 deletions docs/table-storage-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ title: Choose the Table Storage Model

Apache Cloudberry supports several storage models and a mix of storage models. When you create a table, you choose how to store its data. This document explains the options for table storage and how to choose the best storage model for your workload.

- [Heap Storage](#heap-storage)
- [Append-Optimized Storage](#append-optimized-storage)
- [Choosing Row or Column-Oriented Storage](#choosing-row-or-column-oriented-storage)
- [Altering a Table](#altering-a-table)
- [Dropping a Table](#dropping-a-table)

:::info
To simplify the creation of database tables, you can specify the default values for some table storage options with the Apache Cloudberry server configuration parameter `gp_default_storage_options`.
:::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ title: 事务中的并发控制

本文档介绍 Apache Cloudberry 中的事务并发控制,包括:

- [多版本并发控制机制](#多版本并发控制机制)
- [锁模式](#锁模式)
- [全局死锁检测器](#全局死锁检测器)
- [事务中的并发控制](#事务中的并发控制)
- [多版本并发控制机制](#多版本并发控制机制)
- [锁模式](#锁模式)
- [全局死锁检测器](#全局死锁检测器)
- [全局死锁检测器对并发 `UPDATE``DELETE` 操作的管理](#全局死锁检测器对并发-update-和-delete-操作的管理)

## 多版本并发控制机制

Expand Down
2 changes: 1 addition & 1 deletion src/consts/bootcamp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let BOOTCAMP_PAGE_CONFIG = {
This part contains a series of tutorials for quickly trying out
Cloudberry based on the Cloudberry Sandbox. Before starting
to read the tutorials, you are expected to finish installing the
single-node Cloudberry Database by following the{" "}
single-node Apache Cloudberry by following the{" "}
<span className="active-color">Cloudberry Sandbox</span>.
</>
),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/bootcamp/102-cbdb-crash-course.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Topics include:

## Lesson 0. Prerequisite

Before starting this crash course, spend some time going through the [Apache Cloudberry Tutorials Based on Single-Node Installation](./#1-cloudberry-sandbox) to get familiar with Apache Cloudberry and how it works.
Before starting this crash course, spend some time going through the [Apache Cloudberry Tutorials Based on Single-Node Installation](./cbdb-sandbox.md) to get familiar with Apache Cloudberry and how it works.

## Lesson 1. Where to read the official documentation

Expand Down
2 changes: 1 addition & 1 deletion src/pages/bootcamp/cbdb-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ In addition to using the `docker exec` command, you can also use the `ssh` comma
ssh gpadmin@localhost # Password: cbdb@123
```

Now you have a Apache Cloudberry and can continue with [101 Apache Cloudberry Tutorials](./#2-101-cloudberry-tourials)! Enjoy!
Now you have a Apache Cloudberry and can continue with [101 Apache Cloudberry Tutorials](./102-cbdb-crash-course.md)! Enjoy!

0 comments on commit fe37539

Please sign in to comment.