chucheng92 commented on code in PR #3644: URL: https://github.com/apache/calcite/pull/3644#discussion_r1465920039
########## site/_docs/reference.md: ########## @@ -1643,6 +1643,14 @@ Implicit type coercion of following cases are ignored: | ARRAY '[' value [, value ]* ']' | Creates an array from a list of values. | MAP '[' key, value [, key, value ]* ']' | Creates a map from a list of key-value pairs. +### Value constructors by query + +| Operator syntax | Description | +|:-----------------------------------|:------------| +| ARRAY (sub-query) | Creates an array from the result of a sub-query. Example: `ARRAY(SELECT empno FROM emp)` | Review Comment: Added it. -- 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]
