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

    https://github.com/apache/flink/pull/1585#discussion_r52282391
  
    --- Diff: 
flink-tests/src/test/scala/org/apache/flink/api/scala/operators/SortPartitionITCase.scala
 ---
    @@ -166,6 +167,58 @@ class SortPartitionITCase(mode: TestExecutionMode) 
extends MultipleProgramsTestB
         TestBaseUtils.compareResultAsText(result.asJava, expected)
       }
     
    +  @Test
    +  def testSortPartitionWithKeySelector1(): Unit = {
    +    val env = ExecutionEnvironment.getExecutionEnvironment
    +    env.setParallelism(4)
    +    val ds = CollectionDataSets.get3TupleDataSet(env)
    +
    +    val result = ds
    +      .map { x => x }.setParallelism(4)
    +      .sortPartition(_._2, Order.DESCENDING)
    --- End diff --
    
    Change sort order to `ASCENDING` (or in the other test).


---
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