beyond1920 commented on a change in pull request #18414:
URL: https://github.com/apache/flink/pull/18414#discussion_r790381192



##########
File path: docs/content.zh/docs/dev/table/sql/queries/window-agg.md
##########
@@ -199,7 +199,8 @@ The following shows a cascading window aggregation where 
the first window aggreg
 ```sql
 -- tumbling 5 minutes for each supplier_id
 CREATE VIEW window1 AS
-SELECT window_start, window_end, window_time as rowtime, SUM(price) as 
partial_price
+-- under the Cascading Window Aggregation to avoid field ambiguity 
window_start and window_end need to be renamed

Review comment:
       ```suggestion
   -- Note: The window start and window end fields of inner Window TVF are 
optional in the select clause. However, if they appear in the clause, they need 
to be aliased to prevent name conflicting with the window start and window end 
of the outer Window TVF.
   ```
   WDTY?




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