[typo](docs) fix some error in this files (#18259)
* [typo](docs) fix some error in this files * [typo](docs) fix some error in this files * update files
This commit is contained in:
@ -46,5 +46,7 @@ mysql> SELECT extract_url_parameter ("http://doris.apache.org?k1=aa&k2=bb&test=c
|
||||
+--------------------------------------------------------------------------------+
|
||||
```
|
||||
|
||||
If you want to get other part of URL, you can use [parse_url](./parse_url.md).
|
||||
|
||||
### keywords
|
||||
EXTRACT URL PARAMETER
|
||||
|
||||
@ -30,8 +30,7 @@ under the License.
|
||||
|
||||
`INT lcase (VARCHAR str)`
|
||||
|
||||
|
||||
Consistent with `lower`.
|
||||
Convert all strings in parameters to lowercase. Another alias for this function is [lower](./lower.md).
|
||||
|
||||
### keywords
|
||||
LCASE
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR left (VARCHAR str, INT len)`
|
||||
|
||||
|
||||
It returns the left part of a string of specified length, length is char length not the byte size.
|
||||
It returns the left part of a string of specified length, length is char length not the byte size. Another alias for this function is [strleft](./strleft.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR lower (VARCHAR str)`
|
||||
|
||||
|
||||
Convert all strings in parameters to lowercase
|
||||
Convert all strings in parameters to lowercase. Another alias for this function is [lcase](lcase.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -44,5 +44,7 @@ mysql> SELECT parse_url ('https://doris.apache.org/', 'HOST');
|
||||
+------------------------------------------------+
|
||||
```
|
||||
|
||||
If you want to get parameter in QUERY, you can use [extract_url_parameter](./extract_url_parameter.md).
|
||||
|
||||
### keywords
|
||||
PARSE URL
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR RIGHT (VARCHAR str, INT len)`
|
||||
|
||||
|
||||
It returns the right part of a string of specified length, length is char length not the byte size.
|
||||
It returns the right part of a string of specified length, length is char length not the byte size. Another alias for this function is [strright](./strright.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -28,10 +28,10 @@ under the License.
|
||||
### Description
|
||||
#### Syntax
|
||||
|
||||
`VARCHAR STRAIGHT (VARCHAR str, INT len)`
|
||||
`VARCHAR STRLEFT (VARCHAR str, INT len)`
|
||||
|
||||
|
||||
It returns the left part of a string of specified length, length is char length not the byte size.
|
||||
It returns the left part of a string of specified length, length is char length not the byte size. Another alias for this function is [left](./left.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ under the License.
|
||||
`VARCHAR strright (VARCHAR str, INT len)`
|
||||
|
||||
|
||||
It returns the right part of a string of specified length, length is char length not the byte size.
|
||||
It returns the right part of a string of specified length, length is char length not the byte size. Another alias for this function is [right](./right.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`INT ucase(VARCHAR str)`
|
||||
|
||||
|
||||
Consistent with `upper`.
|
||||
Convert all strings in parameters to uppercase. Another alias for this function is [upper](./upper.md).
|
||||
|
||||
### keywords
|
||||
UCASE
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR upper(VARCHAR str)`
|
||||
|
||||
|
||||
Convert all strings in parameters to uppercase
|
||||
Convert all strings in parameters to uppercase. Another alias for this function is [ucase](./ucase.md).
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ Unless required by applicable law or agreed to in writing, software distributed
|
||||
The LEAD() method is used to calculate the value of the current line several lines backwards.
|
||||
|
||||
```sql
|
||||
LEAD(expr, offset, default]) OVER (partition_by_clause order_by_clause)
|
||||
LEAD(expr, offset, default) OVER (partition_by_clause order_by_clause)
|
||||
```
|
||||
|
||||
### example
|
||||
@ -48,4 +48,4 @@ order by closing_date;
|
||||
|
||||
### keywords
|
||||
|
||||
WINDOW,FUNCTION,LEAD
|
||||
WINDOW,FUNCTION,LEAD
|
||||
|
||||
@ -26,6 +26,8 @@ under the License.
|
||||
|
||||
## ALTER-RESOURCE
|
||||
|
||||
<version since="1.2.0"></version>
|
||||
|
||||
### Name
|
||||
|
||||
ALTER RESOURCE
|
||||
|
||||
@ -46,5 +46,7 @@ mysql> SELECT extract_url_parameter ("http://doris.apache.org?k1=aa&k2=bb&test=c
|
||||
+--------------------------------------------------------------------------------+
|
||||
```
|
||||
|
||||
如果想获取 URL 中的其他部分,可以使用[parse_url](./parse_url.md)。
|
||||
|
||||
### keywords
|
||||
EXTRACT URL PARAMETER
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`INT lcase(VARCHAR str)`
|
||||
|
||||
|
||||
与`lower`一致
|
||||
将参数中所有的字符串都转换成小写,该函数的另一个别名为[lower](./lower.md)。
|
||||
|
||||
### keywords
|
||||
LCASE
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR left(VARCHAR str, INT len)`
|
||||
|
||||
|
||||
它返回具有指定长度的字符串的左边部分, 长度的单位为utf8字符
|
||||
它返回具有指定长度的字符串的左边部分,长度的单位为utf8字符,此函数的另一个别名为[strleft](./strleft.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR lower(VARCHAR str)`
|
||||
|
||||
|
||||
将参数中所有的字符串都转换成小写
|
||||
将参数中所有的字符串都转换成小写,该函数的另一个别名为[lcase](./lcase.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -42,5 +42,7 @@ mysql> SELECT parse_url ('https://doris.apache.org/', 'HOST');
|
||||
+------------------------------------------------+
|
||||
```
|
||||
|
||||
如果想获取 QUERY 中的特定参数,可使用[extract_url_parameter](./extract_url_parameter.md)。
|
||||
|
||||
### keywords
|
||||
PARSE URL
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR right(VARCHAR str, INT len)`
|
||||
|
||||
|
||||
它返回具有指定长度的字符串的右边部分, 长度的单位为utf8字符
|
||||
它返回具有指定长度的字符串的右边部分, 长度的单位为utf8字符。此函数的另一个别名为[strright](./strright.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR strleft(VARCHAR str, INT len)`
|
||||
|
||||
|
||||
它返回具有指定长度的字符串的左边部分,长度的单位为utf8字符
|
||||
它返回具有指定长度的字符串的左边部分,长度的单位为utf8字符,此函数的另一个别名为[left](./left.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR strright(VARCHAR str, INT len)`
|
||||
|
||||
|
||||
它返回具有指定长度的字符串的右边部分, 长度的单位为utf8字符
|
||||
它返回具有指定长度的字符串的右边部分, 长度的单位为utf8字符。此函数的另一个别名为[right](./right.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`INT ucase(VARCHAR str)`
|
||||
|
||||
|
||||
与`upper`一致
|
||||
将参数中所有的字符串都转换成大写,此函数的另一个别名为[upper](./upper.md)。
|
||||
|
||||
### keywords
|
||||
UCASE
|
||||
|
||||
@ -31,7 +31,7 @@ under the License.
|
||||
`VARCHAR upper(VARCHAR str)`
|
||||
|
||||
|
||||
将参数中所有的字符串都转换成大写
|
||||
将参数中所有的字符串都转换成大写,此函数的另一个别名为[ucase](./ucase.md)。
|
||||
|
||||
### example
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ Unless required by applicable law or agreed to in writing, software distributed
|
||||
LEAD() 方法用来计算当前行向后数若干行的值。
|
||||
|
||||
```sql
|
||||
LEAD(expr, offset, default]) OVER (partition_by_clause order_by_clause)
|
||||
LEAD(expr, offset, default) OVER (partition_by_clause order_by_clause)
|
||||
```
|
||||
|
||||
### example
|
||||
@ -48,4 +48,4 @@ order by closing_date;
|
||||
|
||||
### keywords
|
||||
|
||||
WINDOW,FUNCTION,LEAD
|
||||
WINDOW,FUNCTION,LEAD
|
||||
|
||||
Reference in New Issue
Block a user