You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2017/08/11 04:37:00 UTC

[jira] [Created] (FLINK-7425) Support Map in TypeExtractor

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)