@@ -1462,6 +1477,8 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1462,6 +1477,8 @@ TDengine supports aggregations over data, they are listed below:
Applies to columns of normal table, child table and super table
Applies to columns of normal table, child table and super table
Supported after version 2.6.0.x
-**ABS**
-**ABS**
```mysql
```mysql
SELECT ABS(field_name) FROM { tb_name | stb_name } [WHERE clause]
SELECT ABS(field_name) FROM { tb_name | stb_name } [WHERE clause]
...
@@ -1482,6 +1499,8 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1482,6 +1499,8 @@ TDengine supports aggregations over data, they are listed below:
Applies to columns of normal table, child table and super table
Applies to columns of normal table, child table and super table
Supported after version 2.6.0.x
-**SQRT**
-**SQRT**
```mysql
```mysql
...
@@ -1503,6 +1522,8 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1503,6 +1522,8 @@ TDengine supports aggregations over data, they are listed below:
Applies to columns of normal table, child table and super table
Applies to columns of normal table, child table and super table
Supported after version 2.6.0.x
-**CAST**
-**CAST**
```mysql
```mysql
SELECT CAST(expression AS type_name) FROM { tb_name | stb_name } [WHERE clause]
SELECT CAST(expression AS type_name) FROM { tb_name | stb_name } [WHERE clause]
...
@@ -1519,6 +1540,8 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1519,6 +1540,8 @@ TDengine supports aggregations over data, they are listed below:
It is a scalar function and its output is NULL for input NULL
It is a scalar function and its output is NULL for input NULL
Supported after version 2.6.0.x
-**CONCAT**
-**CONCAT**
```mysql
```mysql
...
@@ -1536,6 +1559,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1536,6 +1559,7 @@ TDengine supports aggregations over data, they are listed below:
The function takes 2 to 8 string values as input. all inputs must be of the same data type.
The function takes 2 to 8 string values as input. all inputs must be of the same data type.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**CONCAT_WS**
-**CONCAT_WS**
```
```
...
@@ -1553,6 +1577,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1553,6 +1577,7 @@ TDengine supports aggregations over data, they are listed below:
The function takes 3 to 9 string values as input. all inputs must be of the same data type.
The function takes 3 to 9 string values as input. all inputs must be of the same data type.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**LENGTH**
-**LENGTH**
...
@@ -1570,6 +1595,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1570,6 +1595,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**CHAR_LENGTH**
-**CHAR_LENGTH**
```
```
...
@@ -1586,6 +1612,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1586,6 +1612,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**LOWER**
-**LOWER**
```
```
...
@@ -1602,6 +1629,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1602,6 +1629,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**UPPER**
-**UPPER**
```
```
...
@@ -1618,6 +1646,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1618,6 +1646,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**LTRIM**
-**LTRIM**
```
```
...
@@ -1634,6 +1663,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1634,6 +1663,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**RTRIM**
-**RTRIM**
```
```
...
@@ -1650,6 +1680,7 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1650,6 +1680,7 @@ TDengine supports aggregations over data, they are listed below:
Returns NULL when input is NULL.
Returns NULL when input is NULL.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query
Supported after version 2.6.0.x
-**SUBSTR**
-**SUBSTR**
```
```
...
@@ -1667,7 +1698,8 @@ TDengine supports aggregations over data, they are listed below:
...
@@ -1667,7 +1698,8 @@ TDengine supports aggregations over data, they are listed below:
Input pos can be negative or positive. If it is a positive number, this function extracts from the beginning of the string. If it is a negative number, this function extracts from the end of the string
Input pos can be negative or positive. If it is a positive number, this function extracts from the beginning of the string. If it is a negative number, this function extracts from the end of the string
If input len is ommited, the output is whole substring starting from pos.
If input len is ommited, the output is whole substring starting from pos.
This function applies to normal table, child table and super table
This function applies to normal table, child table and super table
This function applies to bother out query and inner query
This function applies to bother out query and inner query