liuyongvs commented on a change in pull request #9966: [FLINK-14053]
[blink-planner] DenseRankAggFunction.accumulateExpressions. it should be thinki…
URL: https://github.com/apache/flink/pull/9966#discussion_r338496343
##########
File path:
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/runtime/batch/sql/OverWindowITCase.scala
##########
@@ -386,6 +386,28 @@ class OverWindowITCase extends BatchTestBase {
row(5, 5)
)
)
+
+ // deal with input with 0 as the first row's rank field
+ checkResult(
+ "SELECT f, dense_rank() over (order by d) FROM Table5",
Review comment:
it should be SELECT f, dense_rank() over (order by f) FROM Table5
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services