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 14a009ae3dd Remove the description that the parameter does not support
variables (#2300)
14a009ae3dd is described below
commit 14a009ae3dd3127089c064471e267db923ef4b61
Author: lw112 <[email protected]>
AuthorDate: Tue May 20 14:51:30 2025 +0800
Remove the description that the parameter does not support variables (#2300)
because: https://github.com/apache/doris/pull/50149
## Versions
- [x] dev
- [x] 3.0
- [x] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
.../scalar-functions/string-functions/substring-index.md | 4 +---
.../scalar-functions/string-functions/substring-index.md | 4 +---
.../scalar-functions/string-functions/substring-index.md | 4 +---
.../scalar-functions/string-functions/substring-index.md | 4 +---
.../scalar-functions/string-functions/substring-index.md | 4 +---
.../scalar-functions/string-functions/substring-index.md | 4 +---
6 files changed, 6 insertions(+), 18 deletions(-)
diff --git
a/docs/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/docs/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 969997b68fd..75aa6c16d4b 100644
---
a/docs/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/docs/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | The delimiter string, case-sensitive and multi-byte safe.
Type: VARCHAR |
| `<field>` | Number of delimiter occurrences. Positive numbers count from
left, negative numbers count from right. Type: INT |
-Note: The delimiter and field parameters must be constants, variables are not
supported.
-
## Return Value
Returns VARCHAR type, representing the extracted substring.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 131280d7218..a0a071784ea 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | 分隔符,大小写敏感且多字节安全。类型:VARCHAR |
| `<field>` | 分隔符出现的次数。正数从左计数,负数从右计数。类型:INT |
-注意:delimiter 和 field 参数需要是常量,不支持变量。
-
## 返回值
返回 VARCHAR 类型,表示截取后的子字符串。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 131280d7218..a0a071784ea 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | 分隔符,大小写敏感且多字节安全。类型:VARCHAR |
| `<field>` | 分隔符出现的次数。正数从左计数,负数从右计数。类型:INT |
-注意:delimiter 和 field 参数需要是常量,不支持变量。
-
## 返回值
返回 VARCHAR 类型,表示截取后的子字符串。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 131280d7218..a0a071784ea 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | 分隔符,大小写敏感且多字节安全。类型:VARCHAR |
| `<field>` | 分隔符出现的次数。正数从左计数,负数从右计数。类型:INT |
-注意:delimiter 和 field 参数需要是常量,不支持变量。
-
## 返回值
返回 VARCHAR 类型,表示截取后的子字符串。
diff --git
a/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 969997b68fd..75aa6c16d4b 100644
---
a/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/versioned_docs/version-2.1/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | The delimiter string, case-sensitive and multi-byte safe.
Type: VARCHAR |
| `<field>` | Number of delimiter occurrences. Positive numbers count from
left, negative numbers count from right. Type: INT |
-Note: The delimiter and field parameters must be constants, variables are not
supported.
-
## Return Value
Returns VARCHAR type, representing the extracted substring.
diff --git
a/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
b/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
index 969997b68fd..75aa6c16d4b 100644
---
a/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
+++
b/versioned_docs/version-3.0/sql-manual/sql-functions/scalar-functions/string-functions/substring-index.md
@@ -5,7 +5,7 @@
}
---
-<!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -39,8 +39,6 @@ SUBSTRING_INDEX(<content>, <delimiter>, <field>)
| `<delimiter>` | The delimiter string, case-sensitive and multi-byte safe.
Type: VARCHAR |
| `<field>` | Number of delimiter occurrences. Positive numbers count from
left, negative numbers count from right. Type: INT |
-Note: The delimiter and field parameters must be constants, variables are not
supported.
-
## Return Value
Returns VARCHAR type, representing the extracted substring.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]