This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new fd2f708aee2 [fix](doc) zh random.md upper-bound text and bitwise OR
cell rendering (#3756)
fd2f708aee2 is described below
commit fd2f708aee2c0744ad3144186be5d177c9fc6f5c
Author: boluor <[email protected]>
AuthorDate: Sun May 24 15:27:29 2026 -0700
[fix](doc) zh random.md upper-bound text and bitwise OR cell rendering
(#3756)
## Summary
Two unrelated but small fixes:
1. **\`numeric-functions/random.md\` (zh)** — \`<b>\` parameter
description read \"随机数的上限 必须小于下限\" (upper bound must be **less than**
lower bound), which is backwards. Corrected to \"必须大于下限\" across zh
current / 2.1 / 3.x / 4.x.
2. **\`basic-element/operators/bitwise-operators.md\` (EN + zh)** — the
OR-row example \`SELECT 1 | 2\` had a literal \`|\` inside an
inline-code cell, which the Docusaurus table renderer truncates to
``SELECT 1`` (visible on the live site). Escape the pipe with \`|\`
so it renders as \`SELECT 1 | 2\`. Applied to all 8 maintained-version
files.
Fixes #2464
Fixes #2463
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
docs/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../current/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../sql-functions/scalar-functions/numeric-functions/random.md | 2 +-
.../version-2.1/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../sql-functions/scalar-functions/numeric-functions/random.md | 2 +-
.../version-3.x/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../sql-functions/scalar-functions/numeric-functions/random.md | 2 +-
.../version-4.x/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../sql-functions/scalar-functions/numeric-functions/random.md | 2 +-
.../version-2.1/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../version-3.x/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
.../version-4.x/sql-manual/basic-element/operators/bitwise-operators.md | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/sql-manual/basic-element/operators/bitwise-operators.md
b/docs/sql-manual/basic-element/operators/bitwise-operators.md
index 27a3ef9a2ac..5f32c04ce36 100644
--- a/docs/sql-manual/basic-element/operators/bitwise-operators.md
+++ b/docs/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,7 +15,7 @@ Bitwise operators perform specified operations on one or two
expressions at the
| Operator | Function
| Example |
|----------|----------------------------------------------------------------------------------------------|-----------------|
| `&` | Performs a bitwise AND operation. If both corresponding bits are
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 & 2` |
-| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
+| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
| `^` | Performs a bitwise XOR operation. If the corresponding bits
differ, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 ^ 2` |
| `~` | Performs a bitwise NOT operation. Inverts each bit: `1` becomes
`0`, and `0` becomes `1`. | `SELECT ~1` |
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/operators/bitwise-operators.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/operators/bitwise-operators.md
index 6be5062d06d..e4651d602e8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,6 +15,6 @@
| 操作符 | 作用 | 示例
|
| ------ | ------------------------------------------------------------ |
-------------- |
| & | 按位执行与操作。当两个表达式对应的位均为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 & 2` |
-| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2` |
+| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2`
|
| ^ | 按位执行异或操作。当两个表达式对应不同时,结果对应的位置为 1,否则为 0。 | `SELECT 1 ^ 2` |
| ~ | 按位执行取反操作。当表达式的位为 1 时,结果对应的位置为 0,否则为 1。 | `SELECT ~1` |
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
index 52bd173f17b..51611b427c3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
@@ -32,7 +32,7 @@ RANDOM(<a> , <b>) --生成 a-b 之间的随机数
| -- | -- |
| `<seed>` | 随机数生成器的种子值 根据种子值返回一个 0-1 之间的固定随机数序列 |
| `<a>` | 随机数的下限 |
-| `<b>` | 随机数的上限 必须小于下限 |
+| `<b>` | 随机数的上限,必须大于下限 |
## 返回值
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
index 6be5062d06d..e4651d602e8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,6 +15,6 @@
| 操作符 | 作用 | 示例
|
| ------ | ------------------------------------------------------------ |
-------------- |
| & | 按位执行与操作。当两个表达式对应的位均为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 & 2` |
-| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2` |
+| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2`
|
| ^ | 按位执行异或操作。当两个表达式对应不同时,结果对应的位置为 1,否则为 0。 | `SELECT 1 ^ 2` |
| ~ | 按位执行取反操作。当表达式的位为 1 时,结果对应的位置为 0,否则为 1。 | `SELECT ~1` |
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
index 52bd173f17b..51611b427c3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
@@ -32,7 +32,7 @@ RANDOM(<a> , <b>) --生成 a-b 之间的随机数
| -- | -- |
| `<seed>` | 随机数生成器的种子值 根据种子值返回一个 0-1 之间的固定随机数序列 |
| `<a>` | 随机数的下限 |
-| `<b>` | 随机数的上限 必须小于下限 |
+| `<b>` | 随机数的上限,必须大于下限 |
## 返回值
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
index 6be5062d06d..e4651d602e8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,6 +15,6 @@
| 操作符 | 作用 | 示例
|
| ------ | ------------------------------------------------------------ |
-------------- |
| & | 按位执行与操作。当两个表达式对应的位均为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 & 2` |
-| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2` |
+| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2`
|
| ^ | 按位执行异或操作。当两个表达式对应不同时,结果对应的位置为 1,否则为 0。 | `SELECT 1 ^ 2` |
| ~ | 按位执行取反操作。当表达式的位为 1 时,结果对应的位置为 0,否则为 1。 | `SELECT ~1` |
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
index 52bd173f17b..51611b427c3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
@@ -32,7 +32,7 @@ RANDOM(<a> , <b>) --生成 a-b 之间的随机数
| -- | -- |
| `<seed>` | 随机数生成器的种子值 根据种子值返回一个 0-1 之间的固定随机数序列 |
| `<a>` | 随机数的下限 |
-| `<b>` | 随机数的上限 必须小于下限 |
+| `<b>` | 随机数的上限,必须大于下限 |
## 返回值
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
index 6be5062d06d..e4651d602e8 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,6 +15,6 @@
| 操作符 | 作用 | 示例
|
| ------ | ------------------------------------------------------------ |
-------------- |
| & | 按位执行与操作。当两个表达式对应的位均为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 & 2` |
-| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2` |
+| \| | 按位执行或操作。当两个表达式对应的位任意一个为 1 时,结果对应的位置为 1,否则为 0。 | `SELECT 1 | 2`
|
| ^ | 按位执行异或操作。当两个表达式对应不同时,结果对应的位置为 1,否则为 0。 | `SELECT 1 ^ 2` |
| ~ | 按位执行取反操作。当表达式的位为 1 时,结果对应的位置为 0,否则为 1。 | `SELECT ~1` |
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
index 52bd173f17b..51611b427c3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/numeric-functions/random.md
@@ -32,7 +32,7 @@ RANDOM(<a> , <b>) --生成 a-b 之间的随机数
| -- | -- |
| `<seed>` | 随机数生成器的种子值 根据种子值返回一个 0-1 之间的固定随机数序列 |
| `<a>` | 随机数的下限 |
-| `<b>` | 随机数的上限 必须小于下限 |
+| `<b>` | 随机数的上限,必须大于下限 |
## 返回值
diff --git
a/versioned_docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
b/versioned_docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
index 27a3ef9a2ac..5f32c04ce36 100644
---
a/versioned_docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/versioned_docs/version-2.1/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,7 +15,7 @@ Bitwise operators perform specified operations on one or two
expressions at the
| Operator | Function
| Example |
|----------|----------------------------------------------------------------------------------------------|-----------------|
| `&` | Performs a bitwise AND operation. If both corresponding bits are
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 & 2` |
-| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
+| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
| `^` | Performs a bitwise XOR operation. If the corresponding bits
differ, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 ^ 2` |
| `~` | Performs a bitwise NOT operation. Inverts each bit: `1` becomes
`0`, and `0` becomes `1`. | `SELECT ~1` |
diff --git
a/versioned_docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
b/versioned_docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
index 27a3ef9a2ac..5f32c04ce36 100644
---
a/versioned_docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/versioned_docs/version-3.x/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,7 +15,7 @@ Bitwise operators perform specified operations on one or two
expressions at the
| Operator | Function
| Example |
|----------|----------------------------------------------------------------------------------------------|-----------------|
| `&` | Performs a bitwise AND operation. If both corresponding bits are
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 & 2` |
-| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
+| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
| `^` | Performs a bitwise XOR operation. If the corresponding bits
differ, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 ^ 2` |
| `~` | Performs a bitwise NOT operation. Inverts each bit: `1` becomes
`0`, and `0` becomes `1`. | `SELECT ~1` |
diff --git
a/versioned_docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
b/versioned_docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
index 27a3ef9a2ac..5f32c04ce36 100644
---
a/versioned_docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
+++
b/versioned_docs/version-4.x/sql-manual/basic-element/operators/bitwise-operators.md
@@ -15,7 +15,7 @@ Bitwise operators perform specified operations on one or two
expressions at the
| Operator | Function
| Example |
|----------|----------------------------------------------------------------------------------------------|-----------------|
| `&` | Performs a bitwise AND operation. If both corresponding bits are
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 & 2` |
-| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
+| `\|` | Performs a bitwise OR operation. If either corresponding bit is
`1`, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 | 2` |
| `^` | Performs a bitwise XOR operation. If the corresponding bits
differ, the result bit is `1`; otherwise, it is `0`. | `SELECT 1 ^ 2` |
| `~` | Performs a bitwise NOT operation. Inverts each bit: `1` becomes
`0`, and `0` becomes `1`. | `SELECT ~1` |
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]