This is an automated email from the ASF dual-hosted git repository.
kassiez 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 91e216edffd [doc]update description in log function (#2322)
91e216edffd is described below
commit 91e216edffde43917f5b26224499728b50e8226f
Author: John Zhang <[email protected]>
AuthorDate: Sun Apr 27 11:46:22 2025 +0800
[doc]update description in log function (#2322)
## Versions
- [x] dev
- [x] 3.0
- [x] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
Co-authored-by: johnzyzhang <[email protected]>
---
.../sql-functions/scalar-functions/numeric-functions/log.md | 8 ++++----
.../sql-functions/scalar-functions/numeric-functions/log.md | 12 ++++++------
.../sql-functions/scalar-functions/numeric-functions/log.md | 12 ++++++------
.../sql-functions/scalar-functions/numeric-functions/log.md | 12 ++++++------
.../sql-functions/scalar-functions/numeric-functions/log.md | 8 ++++----
.../sql-functions/scalar-functions/numeric-functions/log.md | 8 ++++----
6 files changed, 30 insertions(+), 30 deletions(-)
diff --git
a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index 3cde57dc897..48c2161b2f5 100644
--- a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++ b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,19 +29,19 @@ Returns the logarithm of `x` based on base `b`.
## Syntax
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## Parameters
| Parameter | Description |
|-----------|------------|
-| `<a>` | Base should be greater than 0 and not be exactly 1.0 |
-| `<x>` | Antilogarithm should be greater than 0 |
+| `<b>` | Base should be greater than 0 and not be exactly 1.0 |
+| `<x>` | Antilogarithm should be greater than 0 |
## Return value
-Return a float point number. Special cases:
+Return b float point number. Special cases:
- If a IS NULL or x IS NULL, return NULL
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index ddb8d60a2e0..0605da0c9ee 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,21 +29,21 @@ under the License.
## 语法
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## 参数
-| 参数 | 说明 |
-| -- | -- |
-| `<a>` | 底数 必须大于 0 且不等于 1 |
-| `<x>` | 真数 必须大于 0 |
+| 参数 | 说明 |
+|-------| -- |
+| `<b>` | 底数 必须大于 0 且不等于 1 |
+| `<x>` | 真数 必须大于 0 |
## 返回值
返回一个浮点数。特殊情况:
-- 当 a 为 NULL 或 x 为 NULL 时,返回`NULL`
+- 当 b 为 NULL 或 x 为 NULL 时,返回`NULL`
## 举例
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index ddb8d60a2e0..0605da0c9ee 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,21 +29,21 @@ under the License.
## 语法
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## 参数
-| 参数 | 说明 |
-| -- | -- |
-| `<a>` | 底数 必须大于 0 且不等于 1 |
-| `<x>` | 真数 必须大于 0 |
+| 参数 | 说明 |
+|-------| -- |
+| `<b>` | 底数 必须大于 0 且不等于 1 |
+| `<x>` | 真数 必须大于 0 |
## 返回值
返回一个浮点数。特殊情况:
-- 当 a 为 NULL 或 x 为 NULL 时,返回`NULL`
+- 当 b 为 NULL 或 x 为 NULL 时,返回`NULL`
## 举例
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index ddb8d60a2e0..0605da0c9ee 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,21 +29,21 @@ under the License.
## 语法
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## 参数
-| 参数 | 说明 |
-| -- | -- |
-| `<a>` | 底数 必须大于 0 且不等于 1 |
-| `<x>` | 真数 必须大于 0 |
+| 参数 | 说明 |
+|-------| -- |
+| `<b>` | 底数 必须大于 0 且不等于 1 |
+| `<x>` | 真数 必须大于 0 |
## 返回值
返回一个浮点数。特殊情况:
-- 当 a 为 NULL 或 x 为 NULL 时,返回`NULL`
+- 当 b 为 NULL 或 x 为 NULL 时,返回`NULL`
## 举例
diff --git
a/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index 3cde57dc897..48c2161b2f5 100644
---
a/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++
b/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,19 +29,19 @@ Returns the logarithm of `x` based on base `b`.
## Syntax
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## Parameters
| Parameter | Description |
|-----------|------------|
-| `<a>` | Base should be greater than 0 and not be exactly 1.0 |
-| `<x>` | Antilogarithm should be greater than 0 |
+| `<b>` | Base should be greater than 0 and not be exactly 1.0 |
+| `<x>` | Antilogarithm should be greater than 0 |
## Return value
-Return a float point number. Special cases:
+Return b float point number. Special cases:
- If a IS NULL or x IS NULL, return NULL
diff --git
a/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
b/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
index 3cde57dc897..48c2161b2f5 100644
---
a/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
+++
b/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/numeric-functions/log.md
@@ -29,19 +29,19 @@ Returns the logarithm of `x` based on base `b`.
## Syntax
```sql
-LOG(<a>,<x>)
+LOG(<b>,<x>)
```
## Parameters
| Parameter | Description |
|-----------|------------|
-| `<a>` | Base should be greater than 0 and not be exactly 1.0 |
-| `<x>` | Antilogarithm should be greater than 0 |
+| `<b>` | Base should be greater than 0 and not be exactly 1.0 |
+| `<x>` | Antilogarithm should be greater than 0 |
## Return value
-Return a float point number. Special cases:
+Return b float point number. Special cases:
- If a IS NULL or x IS NULL, return NULL
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]