morrySnow commented on code in PR #1865:
URL: https://github.com/apache/doris-website/pull/1865#discussion_r1924784552


##########
docs/sql-manual/sql-functions/scalar-functions/array-functions/array.md:
##########
@@ -22,57 +22,69 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## array()
-array()
-### description
+## Description
+construct an array with variadic elements and return it, T could be column or 
literal
 
-#### Syntax
+## Syntax
 
-`ARRAY<T> array(T, ...)`
+```sql
+array(<T>)

Review Comment:
   1. 参数用小写字母
   2. 参数名可以起的有意义一些
   3. 可变参数需要增加` [, ...]`
   4. array 函数可以没有参数,所有需要将整个参数列表作为可选参数
   ```suggestion
   array([ <element> [, ...] ])
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to