Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3743#discussion_r112650081
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/java/windows.scala
---
@@ -82,3 +84,32 @@ object Session {
*/
def withGap(gap: String): SessionWindow = new SessionWindow(gap)
}
+
+/**
+ * Helper object for creating a over window.
+ */
+object Over {
+
+ /**
+ * Specifies the time attribute on which rows are grouped.
+ *
+ * For streaming tables call [[orderBy 'rowtime or orderBy 'proctime]]
to specify time mode.
+ *
+ * For batch tables, refer to a timestamp or long attribute.
+ */
+ def orderBy(orderBy: Expression): OverWindowPredefined = {
--- End diff --
The Java API is based on `String` not `Expression`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---