[jira] [Created] (FLINK-7425) Support Map<K,V> in TypeExtractor

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

[jira] [Created] (FLINK-7425) Support Map<K,V> in TypeExtractor

JIRA jira@apache.org
Timo Walther created FLINK-7425:
-----------------------------------

             Summary: Support Map<K,V> in TypeExtractor
                 Key: FLINK-7425
                 URL: https://issues.apache.org/jira/browse/FLINK-7425
             Project: Flink
          Issue Type: Improvement
          Components: Type Serialization System
            Reporter: Timo Walther


If you print {{new TypeHint<Map<String, String>>(){}.getType()}} you will see that even this is GenericTypeInfo. This is confusing, but maps where not supported initially. It would be good to officially support all major Java collections. I don't know if we can change this behavior because of backwards compatibility.

See discussion here: https://stackoverflow.com/questions/45621542/flink-sql-api-with-map-types-java/45622438#45622438



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