Marios Trivyzas created FLINK-24425:
---------------------------------------

             Summary: Add support for casting from a single type to the 
corresponding array
                 Key: FLINK-24425
                 URL: https://issues.apache.org/jira/browse/FLINK-24425
             Project: Flink
          Issue Type: Sub-task
            Reporter: Marios Trivyzas


Should we add support for something like:

*CAST(10 AS ARRAY(INT())* which will result in *[10]* ?

 

PostgreSQL for example doesn't support it:

{{postgres=# select 1::integer[];}}
{{ERROR: cannot cast type integer to integer[]}}
{{LINE 1: select 1::integer[];}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to