TanYuxin-tyx commented on code in PR #22573:
URL: https://github.com/apache/flink/pull/22573#discussion_r1196045396
##########
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/runtime/batch/sql/PartitionableSinkITCase.scala:
##########
@@ -83,9 +79,12 @@ class PartitionableSinkITCase extends BatchTestBase {
"insert into sinkTable select a, max(b), c"
+ " from nonSortTable group by a, c")
.await()
- assertEquals(List("1,5,Hi", "1,5,Hi01", "1,5,Hi02"), RESULT1.sorted)
- assert(RESULT2.isEmpty)
- assertEquals(
+ assertThatIterable(RESULT1.sorted).containsExactlyElementsOf(
+ List("1,5,Hi", "1,5,Hi01", "1,5,Hi02"))
+ assertThat(RESULT2.isEmpty).isTrue
+ assertThatIterable(
+ RESULT3.sorted
+ ).containsExactlyElementsOf(
Review Comment:
Good catch, Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]