[
https://issues.apache.org/jira/browse/FLINK-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321608#comment-17321608
]
Flink Jira Bot commented on FLINK-8386:
---------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Scala API cannot create type information for Tuple interface
> ------------------------------------------------------------
>
> Key: FLINK-8386
> URL: https://issues.apache.org/jira/browse/FLINK-8386
> Project: Flink
> Issue Type: Bug
> Components: API / Type Serialization System
> Reporter: Timo Walther
> Priority: Minor
> Labels: stale-minor
>
> The Scala API type inference does not work with the
> {{org.apache.flink.api.java.tuple.Tuple}} interface.
> {code}
> val ti: TypeInformation[_] = Types.of[Tuple]
> {code}
> Leads to:
> {code}
> Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object;
> cannot be cast to [Lorg.apache.flink.api.common.typeinfo.TypeInformation;
> at
> org.apache.flink.table.examples.scala.WordCountTable$.main(WordCountTable.scala:47)
> at
> org.apache.flink.table.examples.scala.WordCountTable.main(WordCountTable.scala)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)