zclllyybb commented on code in PR #3506: URL: https://github.com/apache/doris-website/pull/3506#discussion_r3013131152
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/window-funnel.md: ########## @@ -33,13 +33,13 @@ WINDOW_FUNNEL(<window>, <mode>, <timestamp>, <event_1>[, event_2, ... , event_n] **模式** - - `default`: 默认模式。 + - `default`: 标准漏斗计算模式。在时间窗口内,Doris 会按照指定顺序寻找最长的事件链。不匹配任何 condition 的事件会被忽略。 - - `deduplication`: 当某个事件重复发生时,这个重复发生的事件会阻止后续的处理过程。如,指定事件链为[event1='A', event2='B', event3='C', event4='D'],原始事件链为"A-B-C-B-D"。由于 B 事件重复,最终的结果事件链为 A-B-C,最大长度为 3。 + - `deduplication`: 在 `default` 的基础上,当前事件链中已经匹配过的事件不能再次出现。例如,指定事件链为 [event1='A', event2='B', event3='C', event4='D'],原始事件链为 `A-B-C-B-D`,第二个 `B` 会打断事件链,因此最终匹配结果为 `A-B-C`,最大长度为 `3`。 - - `fixed`: 不允许事件的顺序发生交错,即事件发生的顺序必须和指定的事件链顺序一致。如,指定事件链为[event1='A', event2='B', event3='C', event4='D'],原始事件链为"A-B-D-C",则结果事件链为 A-B,最大长度为 2 + - `fixed`: 事件链必须严格按照指定顺序推进,不能跳过中间步骤。如果某个后续步骤对应的事件在其前驱步骤匹配之前就出现,则事件链立即中断。从 Doris 4.1 开始,不匹配任何 condition 的无关事件会被忽略,不再打断事件链。例如,指定事件链为 [event1='A', event2='B', event3='C', event4='D'] 时,`A-B-D-C` 的结果为 `A-B`,最大长度为 `2`;如果原始事件链为 `A-B-X-C-D`(`X` 不匹配任何 condition),则 Doris 4.1 及以后返回 `A-B-C-D`,而 4.1 之前只会返回 `A-B`。 Review Comment: 关于具体版本的说明,只出现在对对应版本文档即可,不需要出现在dev文档中 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
