You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2014/10/27 12:10:33 UTC

[jira] [Created] (FLINK-1191) TypeAnalyzer MatchError when analyzing BitSet type with Scala API

Till Rohrmann created FLINK-1191:
------------------------------------

             Summary: TypeAnalyzer MatchError when analyzing BitSet type with Scala API
                 Key: FLINK-1191
                 URL: https://issues.apache.org/jira/browse/FLINK-1191
             Project: Flink
          Issue Type: Bug
            Reporter: Till Rohrmann


The type analyzer of the ScalaAPI treats BitSet as a ListType. When the unapply method of the ListType is called with a BitSet type then it will be considered a TraversableType. However, within the TraversableType unapply method there is an non-exhaustive pattern matching which fails with BitSet. There is also a comment which says "TODO: make sure this works as it should". As a result, the user only sees that some implicit evidence parameters of type TypeInformation are missing, because they weren't generated. From the user perspective, it would be nice to receive a more meaningful error message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)