flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7425) Support Map<K,V> in TypeExtractor
Date Fri, 11 Aug 2017 04:37:00 GMT
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)

Mime
View raw message