[jira] [Created] (FLINK-2633) OptionTypeInfo does not have proper equals and hashCode method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2633) OptionTypeInfo does not have proper equals and hashCode method

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-2633:
------------------------------------

             Summary: OptionTypeInfo does not have proper equals and hashCode method
                 Key: FLINK-2633
                 URL: https://issues.apache.org/jira/browse/FLINK-2633
             Project: Flink
          Issue Type: Bug
            Reporter: Till Rohrmann


The {{OptionTypeInfo}} does not have a proper {{equals}} and {{hashCode}} definition. As a consequence, types which contain an option type won't be detected to be equal even though the element type of the option is identical.

This can cause problems when you try to union two data sets of type {{DataSet[Option[Int]]}}, for example.



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