Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7425

Support Map<K,V> in TypeExtractor

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            twalthr Timo Walther
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: