flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1112) Add GroupSorting with KeySelectors
Date Mon, 01 Dec 2014 15:26:12 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229900#comment-14229900
] 

ASF GitHub Bot commented on FLINK-1112:
---------------------------------------

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

    https://github.com/apache/incubator-flink/pull/209#discussion_r21094587
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/operators/SortedGrouping.java
---
    @@ -83,6 +84,30 @@ public SortedGrouping(DataSet<T> set, Keys<T> keys, String
field, Order order) {
     		this.groupSortOrders = new Order[groupSortKeyPositions.length];
     		Arrays.fill(this.groupSortOrders, order); // if field == "*"
     	}
    +
    +	/*
    +	 * KeySelector sorting for Pojos and tuples
    --- End diff --
    
    KeySelectors not restricted to Pojos and Tuples


> Add GroupSorting with KeySelectors
> ----------------------------------
>
>                 Key: FLINK-1112
>                 URL: https://issues.apache.org/jira/browse/FLINK-1112
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API, Scala API
>            Reporter: Fabian Hueske
>            Assignee: Mingliang Qi
>
> Group sorting is currently only supported for field-index keys and not for KeySelectors.
> This feature was requested.



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

Mime
View raw message