gustavodemorais commented on code in PR #29372:
URL: https://github.com/apache/flink/pull/29372#discussion_r4183341782
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/utils/RankUtil.scala:
##########
@@ -383,17 +383,19 @@ object RankUtil {
!rank.outputRankNumber && rank.rankType == RankType.ROW_NUMBER &&
isTop1(rank.rankRange)
}
+ /**
+ * Whether the given rank is a deduplication ordered by a single time
attribute. Any other
+ * deduplication is executed as a regular Top-1 Rank that retracts the
previously kept row.
+ */
+ def isDeduplicationOnTimeAttribute(rank: Rank): Boolean =
Review Comment:
done
--
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]