snuyanzin commented on code in PR #24256: URL: https://github.com/apache/flink/pull/24256#discussion_r1852862708
########## docs/content.zh/docs/dev/table/sql/queries/topn.md: ########## @@ -32,13 +32,11 @@ Flink 使用 `OVER` 窗口子句和过滤条件的组合来表达一个 Top-N 下面展示了 Top-N 的语法: ```sql -SELECT [column_list] -FROM ( - SELECT [column_list], - ROW_NUMBER() OVER ([PARTITION BY col1[, col2...]] - ORDER BY col1 [asc|desc][, col2 [asc|desc]...]) AS rownum - FROM table_name) -WHERE rownum <= N [AND conditions] +SELECT [column_list], + ROW_NUMBER() OVER ([PARTITION BY col1[, col2...]] ORDER BY time_attr [asc|desc]) AS rownum +FROM table_name) Review Comment: It seems you commented on first "Address feedback" commit while this issue is solved with the second one... I should have made them into one -- 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]
