Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24403 Improve behaviour of CAST
  3. FLINK-24425

Add support for casting from a single type to the corresponding array

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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[];

      Attachments

        Activity

          People

            Unassigned Unassigned
            matriv Marios Trivyzas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: