[
https://issues.apache.org/jira/browse/FLINK-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther updated FLINK-7360:
--------------------------------
Description:
Currently, Flink SQL supports only Java `java.util.Map`. Scala maps are treated
as a blackbox with Flink `GenericTypeInfo`/SQL `ANY` data type. Therefore, you
can forward these blackboxes and use them within scalar functions but accessing
with the `['key']` operator is not supported.
We should convert these special collections at the beginning, in order to use
in a SQL statement.
See:
https://stackoverflow.com/questions/45471503/flink-table-api-sql-and-map-types-scala
was:
Currently, Flink SQL supports only Java `java.util.Map`. Scala maps are treated
as a blackbox with Flink `GenericTypeInfo`/SQL `ANY` data type. Therefore, you
can forward these blackboxes and use them within scalar functions but accessing
with the `['key']` operator is not supported.
We should convert these special collections at the beginning, in order to use
in a SQL statement.
> Support Scala map type in Table API
> -----------------------------------
>
> Key: FLINK-7360
> URL: https://issues.apache.org/jira/browse/FLINK-7360
> Project: Flink
> Issue Type: New Feature
> Components: Table API & SQL
> Reporter: Timo Walther
>
> Currently, Flink SQL supports only Java `java.util.Map`. Scala maps are
> treated as a blackbox with Flink `GenericTypeInfo`/SQL `ANY` data type.
> Therefore, you can forward these blackboxes and use them within scalar
> functions but accessing with the `['key']` operator is not supported.
> We should convert these special collections at the beginning, in order to use
> in a SQL statement.
> See:
> https://stackoverflow.com/questions/45471503/flink-table-api-sql-and-map-types-scala
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)