Skip to content

Commit 4d2454a

Browse files
committed
Fix broken anchors warnings in the docs
1 parent 2e5e69c commit 4d2454a

File tree

16 files changed

+20
-24
lines changed

16 files changed

+20
-24
lines changed

docs/cbdb-linux-compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Take the following steps to compile and install Apache Cloudberry:
1818
1. [Clone GitHub repo](#step-1-clone-github-repo).
1919
2. [Install dependencies](#step-2-install-dependencies).
2020
3. [Perform prerequisite platform tasks](#step-3-perform-prerequisite-platform-tasks).
21-
4. [Build Apache Cloudberry](#step-4-build-apache-database).
21+
4. [Build Apache Cloudberry](#step-4-build-apache-cloudberry).
2222
5. [Verify the cluster](#step-5-verify-the-cluster).
2323

2424
## Step 1. Clone GitHub repo

docs/cbdb-op-deploy-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The example in this document uses CentOS 7.6 and deploys Apache Cloudberry v1.0.
1313
1. [Prepare node servers](#step-1-prepare-server-nodes).
1414
2. [Install the RPM package](#step-2-install-the-rpm-package).
1515
3. [Configure mutual trust between nodes](#step-3-configure-mutual-trust-between-nodes).
16-
4. [Initialize the database](#step-4-initialize-cloudberry-database).
16+
4. [Initialize the database](#step-4-initialize-apache-cloudberry).
1717
5. [Log into the database](#step-5-log-into-apache-cloudberry).
1818

1919
## Step 1: Prepare server nodes

docs/functions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Apache Cloudberry does not support functions that return a table reference (`ran
4242

4343
## Built-in functions and operators
4444

45-
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.
45+
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.
4646

4747
|Operator/Function Category|VOLATILE Functions|STABLE Functions|Restrictions|
4848
|--------------------------|------------------|----------------|------------|

docs/functions/json-functions-and-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Apache Cloudberry includes built-in functions and operators that create and mani
1616
- [JSON operators](#json-operators)
1717
- [JSON creation functions](#json-creation-functions)
1818
- [JSON aggregate functions](#json-aggregate-functions)
19-
- [JSON processing functions](#json-processing-functions)
19+
- [JSON processing functions](#sqljson-path-language)
2020

2121
### JSON operators
2222

docs/sql-stmts/copy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Specifies the newline used in your data files — `LF` (Line feed, 0x0A), `CR` (
204204

205205
**`CSV`**
206206

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

209209
**`FILL MISSING FIELDS`**
210210

docs/sql-stmts/select.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,11 @@ If an existing_window_name is specified, it must refer to an earlier entry in th
371371

372372
**`PARTITION BY`**
373373

374-
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.
374+
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.
375375

376376
**`ORDER BY`**
377377

378-
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.
378+
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.
379379

380380
> **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.
381381
@@ -869,7 +869,7 @@ Apache Cloudberry recognizes functional dependency (allowing columns to be omitt
869869

870870
**LIMIT and OFFSET**
871871

872-
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.)
872+
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.)
873873

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

docs/sys-utilities/gpaddmirrors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ A configuration file containing one line for each mirror segment you want to cre
106106
<contentID>|<address>|<port>|<data_dir>
107107
```
108108
109-
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).
109+
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).
110110
111111
**`-l logfile_directory`**
112112

docs/sys-utilities/gpexpand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This file can contain hostnames with or without network interfaces specified. Th
100100

101101
> **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`.
102102
103-
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).
103+
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).
104104

105105
**`-i | --input input_file`**
106106

docs/sys-utilities/gpload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Required. Begins the load specification section. A `GPLOAD` specification must h
200200

201201
Required. Defines the location and the format of the input data to be loaded. `gpload` will start one or more instances of the [gpfdist](/docs/sys-utilities/gpfdist.md) file distribution program on the current host and create the required external table definition(s) in Apache Cloudberry that point to the source data. Note that the host from which you run `gpload` must be accessible over the network by all Apache Cloudberry hosts (coordinator and segments).
202202

203-
SOURCE**
203+
**`SOURCE`**
204204

205205
Required. The `SOURCE` block of an `INPUT` specification defines the location of a source file. An `INPUT` section can have more than one `SOURCE` block defined. Each `SOURCE` block defined corresponds to one instance of the [gpfdist](/docs/sys-utilities/gpfdist.md) file distribution program that will be started on the local machine. Each `SOURCE` block defined must have a `FILE` specification.
206206

docs/sys-utilities/psql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ The new query buffer is then re-parsed according to the normal rules of `psql`,
442442
443443
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.
444444
445-
See [Environment](#section17) for information about configuring and customizing your editor.
445+
See [Environment](#environment) for information about configuring and customizing your editor.
446446
447447
**`\echo text [ ... ]`**
448448

0 commit comments

Comments
 (0)