dataroaring commented on code in PR #13785: URL: https://github.com/apache/doris/pull/13785#discussion_r1018077463
########## docs/zh-CN/docs/sql-manual/sql-functions/aggregate-functions/sequence_count.md: ########## @@ -0,0 +1,261 @@ +--- +{ + "title": "SEQUENCE-COUNT", + "language": "zh-CN" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +## SEQUENCE-COUNT +### Description +#### Syntax + +`sequence_count(pattern, timestamp, cond1, cond2, ...);` + +计算与模式匹配的事件链的数量。该函数搜索不重叠的事件链。当前链匹配后,它开始搜索下一个链。 + +**警告!** + +在同一秒钟发生的事件可能以未定义的顺序排列在序列中,影响最终结果。 Review Comment: 会影响最终结果。 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org