[jira] [Created] (FLINK-8129) Add a union type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8129) Add a union type

Shang Yuanchun (Jira)
Timo Walther created FLINK-8129:
-----------------------------------

             Summary: Add a union type
                 Key: FLINK-8129
                 URL: https://issues.apache.org/jira/browse/FLINK-8129
             Project: Flink
          Issue Type: New Feature
          Components: Table API & SQL
            Reporter: Timo Walther


Many input formats like Avro or ORC support union types to work with different types in one field. It might make sense to support those use cases in the Table & SQL API as well. A union type is similar to an {{Either}} type but takes an arbitrary number of possible types. It might considers {{null}} as a type. It is up for discussion if we want to add this type to {{flink-core}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)