Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1856#discussion_r60620452
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/functions/SelectByMinFunction.java
 ---
    @@ -48,7 +49,7 @@ public SelectByMinFunction(TupleTypeInfo<T> type, int... 
fields) {
                        }
     
                        // Check whether type is comparable
    -                   if (!type.getTypeAt(field).isKeyType()) {
    +                   if 
(!((TupleTypeInfo)type).getTypeAt(field).isKeyType()) {
    --- End diff --
    
    Scala tuple types are not of type `TupleTypeInfo` but instead 
`TupleTypeInfoBase`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to