VasShabu commented on code in PR #29967:
URL: https://github.com/apache/flink/pull/29967#discussion_r4628496200
##########
docs/content/docs/sql/reference/queries/deduplication.md:
##########
@@ -69,4 +69,114 @@ FROM (
WHERE row_num = 1
```
+## DEDUPLICATE
+
+{{< label Streaming >}}
+
+The `DEDUPLICATE` process table function (PTF) keeps the first or the last row
per key of an append-only table, as long as the state of the key is retained.
Unlike the `ROW_NUMBER()` pattern above, it needs no time attribute. Rows are
ordered by arrival or by `sequence_by` columns.
Review Comment:
sounds good!
--
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]