You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/09/18 19:45:17 UTC

[GitHub] [druid] mnebus opened a new issue #10409: Documentation for SQL ARRAY to use [] instead of ()

mnebus opened a new issue #10409:
URL: https://github.com/apache/druid/issues/10409


   I think it might be better to use `ARRAY[expr1,expr ...]` instead of `ARRAY(expr1,expr ...)` for the function definition of ARRAY in the SQL documentation.
   
   It aligns better with the expected usage:
   ```
   SELECT ARRAY[1,2] as arr, dim1 FROM foo LIMIT 1
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org