godfreyhe commented on a change in pull request #17670:
URL: https://github.com/apache/flink/pull/17670#discussion_r754793897



##########
File path: docs/content.zh/docs/dev/table/sql/queries/window-agg.md
##########
@@ -40,7 +40,9 @@ Unlike other aggregations on continuous tables, window 
aggregation do not emit i
 
 ### Windowing TVFs
 
-Flink supports `TUMBLE`, `HOP` and `CUMULATE` types of window aggregations, 
which can be defined on either [event or processing time attributes]({{< ref 
"docs/dev/table/concepts/time_attributes" >}}). See [Windowing TVF]({{< ref 
"docs/dev/table/sql/queries/window-tvf" >}}) for more windowing functions 
information.
+Flink supports `TUMBLE`, `HOP` and `CUMULATE` types of window aggregations.
+For SQL queries on streaming tables, the time attribute field of a window 
table-valued function must be on either [event or processing time 
attributes]({{< ref "docs/dev/table/concepts/time_attributes" >}}). See 
[Windowing TVF]({{< ref "docs/dev/table/sql/queries/window-tvf" >}}) for more 
windowing functions information.
+For SQL on batch tables, the time attribute field of a window table-valued 
function must be an attribute of type `TIMESTAMP` or `TIMESTAMP_LTZ`. 

Review comment:
       +1 for streaming/batch mode




-- 
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]


Reply via email to