[jira] [Created] (FLINK-4294) Allow access of composite type fields

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

[jira] [Created] (FLINK-4294) Allow access of composite type fields

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

             Summary: Allow access of composite type fields
                 Key: FLINK-4294
                 URL: https://issues.apache.org/jira/browse/FLINK-4294
             Project: Flink
          Issue Type: New Feature
          Components: Table API & SQL
            Reporter: Timo Walther
            Assignee: Timo Walther


Currently all Flink CompositeTypes are treated as GenericRelDataTypes. It would be better to access individual fields of composite types, too. e.g.

{{code}}
SELECT composite.name FROM composites
SELECT tuple.f0 FROM tuples
'f0.getField(0)
{{code}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)