Re: why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort

2015-06-02 Thread Chiwan Park
Note that sortPartition is implemented in 0.9. Following link shows the example of sortPartition. http://ci.apache.org/projects/flink/flink-docs-master/apis/dataset_transformations.html#sort-partition Regards, Chiwan Park > On Jun 2, 2015, at 5:51 PM, hagersaleh wrote: > > I want example for

Re: why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort

2015-06-02 Thread hagersaleh
I want example for use sortPartition() -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/why-when-use-groupBy-2-sortGroup-0-Order-DESCENDING-not-group-by-and-not-sort-tp1436p1439.html Sent from the Apache Flink User Mailing List archive. maili

Re: why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort

2015-06-01 Thread Fabian Hueske
oes not support global sort (FLINK-598) but only support > local sort currently. The sortGroup API means that sorting for each group. > > > Regards, > Chiwan Park > > > On Jun 2, 2015, at 5:02 AM, hagersaleh wrote: > > > > why when use groupBy(2).sortGroup(0, Order.D

Re: why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort

2015-06-01 Thread Chiwan Park
015, at 5:02 AM, hagersaleh wrote: > > why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not > sort > > I want sort DataSet How can I do that? > > customers = customers.filter( >new FilterFunction() { >@Overri

why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort

2015-06-01 Thread hagersaleh
why when use groupBy(2).sortGroup(0, Order.DESCENDING); not group by and not sort I want sort DataSet How can I do that? customers = customers.filter( new FilterFunction() { @Override public boolean filter(Customer c