twalthr commented on code in PR #27929:
URL: https://github.com/apache/flink/pull/27929#discussion_r3094037149
##########
docs/content/docs/dev/table/functions/ptfs.md:
##########
@@ -1015,6 +1030,149 @@ not needed anymore via `Context#clearAllTimers()` or
`TimeContext#clearTimer(Str
{{< top >}}
+Ordering
+--------
+
+A PTF that takes a table with set semantics can optionally specify an ORDER BY
clause in the
+function call to define the order in which rows are processed within each
partition. The ORDER BY
+clause guarantees that rows are delivered to the eval() method in the
specified order.
Review Comment:
nulls come last in this case, but in general if the secondary sort is
undefined under the same sort group, within the nulls of the first order, the
second order is arbitrary.
--
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]