diff --git a/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md b/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md index 675c870b7..f3350e476 100644 --- a/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md +++ b/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md @@ -4300,26 +4300,173 @@ Output series: +-----------------------------+---------------------------------------+ ``` - ## 7. Data Repairing diff --git a/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md b/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md index 21151b7f0..8c38e926f 100644 --- a/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md @@ -4359,27 +4359,173 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### 6.6 Pattern\_match - ## 7. Data Repairing diff --git a/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md b/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md index 8bab853b8..7c19ffe53 100644 --- a/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md +++ b/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md @@ -4302,27 +4302,172 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### Pattern\_match - +#### Usage + +This function performs pattern matching between an input time series and a predefined pattern. A match is considered successful if the similarity measure (distance) is less than or equal to a specified threshold. The results are output as a JSON list. + +​**Name**​: PATTERN\_MATCH + +**Input**​​**​ Series**​: Only support a single input series. The type is INT32 / INT64 / FLOAT / DOUBLE/ BOOLEAN + +​**Parameter**​: + +* `timePattern` : A comma-separated string of timestamps (e.g., `"t1,t2,t3"`). Length must be ​**greater than 1**​. Required. +* `valuePattern `: A comma-separated string of numerical values corresponding to `timePattern`. Length must **match ​**`timePattern` and be greater than 1. Required. + +> For boolean values: Use `1` for `true` and `0` for `false`. + +* `theshold`: Float-type similarity threshold. Required. + +**Output**​​**​ Series**​: A JSON list containing all successfully matched segments. Each entry includes: start timestamp `startTime`, end timestamp `endTime`, calculated similarity value `distance`. + +#### Example + +1. Linear Data + +Input series: + +```SQL +IoTDB> select s0 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s0| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| 1.1| +|1970-01-01T08:00:00.003+08:00| 1.2| +|1970-01-01T08:00:00.004+08:00| 1.3| +|1970-01-01T08:00:00.005+08:00| 0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+ +| match_result| ++--------------------------------------------------------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]| ++--------------------------------------------------------------------------------------------------+ +``` + +2. Boolean Data + +Input series: + +```SQL +IoTDB> select s1 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s1| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| true| +|1970-01-01T08:00:00.002+08:00| true| +|1970-01-01T08:00:00.003+08:00| true| +|1970-01-01T08:00:00.004+08:00| false| +|1970-01-01T08:00:00.005+08:00| false| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++-------------------------------------------------+ +| match_result| ++-------------------------------------------------+ +|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++-------------------------------------------------+ +``` + +3. V-shaped Data + +Input series: + +```SQL +IoTDB> select s2 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s2| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| -1.0| +|1970-01-01T08:00:00.003+08:00| -2.0| +|1970-01-01T08:00:00.004+08:00| -3.0| +|1970-01-01T08:00:00.005+08:00| -2.0| +|1970-01-01T08:00:00.006+08:00| -1.0| +|1970-01-01T08:00:00.007+08:00| -0.0| +|1970-01-01T08:00:00.008+08:00| -0.0| +|1970-01-01T08:00:00.009+08:00| -0.0| +|1970-01-01T08:00:00.010+08:00| -0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s2, "timePattern"="1,2,3,4,5,6,7", "valuePattern"="0.0,-1.0,-2.0,-3.0,-2.0,-1.0,-0.0", "threshold"="10") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++----------------------------------------------+ +| match_result| ++----------------------------------------------+ +|[{"distance":0.53,"startTime":1,"endTime":10}]| ++----------------------------------------------+ +``` + +4. Multiple Matching Pattern + +Input series: + +```SQL +IoTDB> select s0,s1 from root.** ++-----------------------------+-------------+-------------+ +| Time|root.db.d0.s0|root.db.d0.s1| ++-----------------------------+-------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| true| +|1970-01-01T08:00:00.002+08:00| 1.1| true| +|1970-01-01T08:00:00.003+08:00| 1.2| true| +|1970-01-01T08:00:00.004+08:00| 1.3| false| +|1970-01-01T08:00:00.005+08:00| 0.0| false| ++-----------------------------+-------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result1, pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", + "threshold"="0.5") as match_result2 from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +| match_result1| match_result2| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +``` ## Data Repairing diff --git a/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md b/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md index d4ee30c76..5de24d402 100644 --- a/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md @@ -4361,27 +4361,172 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### Pattern\_match - +#### Usage + +This function performs pattern matching between an input time series and a predefined pattern. A match is considered successful if the similarity measure (distance) is less than or equal to a specified threshold. The results are output as a JSON list. + +​**Name**​: PATTERN\_MATCH + +**Input**​​**​ Series**​: Only support a single input series. The type is INT32 / INT64 / FLOAT / DOUBLE/ BOOLEAN + +​**Parameter**​: + +* `timePattern` : A comma-separated string of timestamps (e.g., `"t1,t2,t3"`). Length must be ​**greater than 1**​. Required. +* `valuePattern `: A comma-separated string of numerical values corresponding to `timePattern`. Length must **match ​**`timePattern` and be greater than 1. Required. + +> For boolean values: Use `1` for `true` and `0` for `false`. + +* `theshold`: Float-type similarity threshold. Required. + +**Output**​​**​ Series**​: A JSON list containing all successfully matched segments. Each entry includes: start timestamp `startTime`, end timestamp `endTime`, calculated similarity value `distance`. + +#### Example + +1. Linear Data + +Input series: + +```SQL +IoTDB> select s0 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s0| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| 1.1| +|1970-01-01T08:00:00.003+08:00| 1.2| +|1970-01-01T08:00:00.004+08:00| 1.3| +|1970-01-01T08:00:00.005+08:00| 0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+ +| match_result| ++--------------------------------------------------------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]| ++--------------------------------------------------------------------------------------------------+ +``` + +2. Boolean Data + +Input series: + +```SQL +IoTDB> select s1 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s1| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| true| +|1970-01-01T08:00:00.002+08:00| true| +|1970-01-01T08:00:00.003+08:00| true| +|1970-01-01T08:00:00.004+08:00| false| +|1970-01-01T08:00:00.005+08:00| false| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++-------------------------------------------------+ +| match_result| ++-------------------------------------------------+ +|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++-------------------------------------------------+ +``` + +3. V-shaped Data + +Input series: + +```SQL +IoTDB> select s2 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s2| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| -1.0| +|1970-01-01T08:00:00.003+08:00| -2.0| +|1970-01-01T08:00:00.004+08:00| -3.0| +|1970-01-01T08:00:00.005+08:00| -2.0| +|1970-01-01T08:00:00.006+08:00| -1.0| +|1970-01-01T08:00:00.007+08:00| -0.0| +|1970-01-01T08:00:00.008+08:00| -0.0| +|1970-01-01T08:00:00.009+08:00| -0.0| +|1970-01-01T08:00:00.010+08:00| -0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s2, "timePattern"="1,2,3,4,5,6,7", "valuePattern"="0.0,-1.0,-2.0,-3.0,-2.0,-1.0,-0.0", "threshold"="10") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++----------------------------------------------+ +| match_result| ++----------------------------------------------+ +|[{"distance":0.53,"startTime":1,"endTime":10}]| ++----------------------------------------------+ +``` + +4. Multiple Matching Pattern + +Input series: + +```SQL +IoTDB> select s0,s1 from root.** ++-----------------------------+-------------+-------------+ +| Time|root.db.d0.s0|root.db.d0.s1| ++-----------------------------+-------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| true| +|1970-01-01T08:00:00.002+08:00| 1.1| true| +|1970-01-01T08:00:00.003+08:00| 1.2| true| +|1970-01-01T08:00:00.004+08:00| 1.3| false| +|1970-01-01T08:00:00.005+08:00| 0.0| false| ++-----------------------------+-------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result1, pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", + "threshold"="0.5") as match_result2 from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +| match_result1| match_result2| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +``` ## Data Repairing diff --git a/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md b/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md index 8bab853b8..455c541f6 100644 --- a/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md +++ b/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md @@ -4302,27 +4302,173 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### Pattern\_match - ## Data Repairing diff --git a/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md b/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md index d4ee30c76..5de24d402 100644 --- a/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md @@ -4361,27 +4361,172 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### Pattern\_match - +#### Usage + +This function performs pattern matching between an input time series and a predefined pattern. A match is considered successful if the similarity measure (distance) is less than or equal to a specified threshold. The results are output as a JSON list. + +​**Name**​: PATTERN\_MATCH + +**Input**​​**​ Series**​: Only support a single input series. The type is INT32 / INT64 / FLOAT / DOUBLE/ BOOLEAN + +​**Parameter**​: + +* `timePattern` : A comma-separated string of timestamps (e.g., `"t1,t2,t3"`). Length must be ​**greater than 1**​. Required. +* `valuePattern `: A comma-separated string of numerical values corresponding to `timePattern`. Length must **match ​**`timePattern` and be greater than 1. Required. + +> For boolean values: Use `1` for `true` and `0` for `false`. + +* `theshold`: Float-type similarity threshold. Required. + +**Output**​​**​ Series**​: A JSON list containing all successfully matched segments. Each entry includes: start timestamp `startTime`, end timestamp `endTime`, calculated similarity value `distance`. + +#### Example + +1. Linear Data + +Input series: + +```SQL +IoTDB> select s0 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s0| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| 1.1| +|1970-01-01T08:00:00.003+08:00| 1.2| +|1970-01-01T08:00:00.004+08:00| 1.3| +|1970-01-01T08:00:00.005+08:00| 0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+ +| match_result| ++--------------------------------------------------------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]| ++--------------------------------------------------------------------------------------------------+ +``` + +2. Boolean Data + +Input series: + +```SQL +IoTDB> select s1 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s1| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| true| +|1970-01-01T08:00:00.002+08:00| true| +|1970-01-01T08:00:00.003+08:00| true| +|1970-01-01T08:00:00.004+08:00| false| +|1970-01-01T08:00:00.005+08:00| false| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", "threshold"="0.5") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++-------------------------------------------------+ +| match_result| ++-------------------------------------------------+ +|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++-------------------------------------------------+ +``` + +3. V-shaped Data + +Input series: + +```SQL +IoTDB> select s2 from root.** ++-----------------------------+-------------+ +| Time|root.db.d0.s2| ++-----------------------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| +|1970-01-01T08:00:00.002+08:00| -1.0| +|1970-01-01T08:00:00.003+08:00| -2.0| +|1970-01-01T08:00:00.004+08:00| -3.0| +|1970-01-01T08:00:00.005+08:00| -2.0| +|1970-01-01T08:00:00.006+08:00| -1.0| +|1970-01-01T08:00:00.007+08:00| -0.0| +|1970-01-01T08:00:00.008+08:00| -0.0| +|1970-01-01T08:00:00.009+08:00| -0.0| +|1970-01-01T08:00:00.010+08:00| -0.0| ++-----------------------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s2, "timePattern"="1,2,3,4,5,6,7", "valuePattern"="0.0,-1.0,-2.0,-3.0,-2.0,-1.0,-0.0", "threshold"="10") as match_result from root.db.d0 +``` + +Output series: + +```SQL ++----------------------------------------------+ +| match_result| ++----------------------------------------------+ +|[{"distance":0.53,"startTime":1,"endTime":10}]| ++----------------------------------------------+ +``` + +4. Multiple Matching Pattern + +Input series: + +```SQL +IoTDB> select s0,s1 from root.** ++-----------------------------+-------------+-------------+ +| Time|root.db.d0.s0|root.db.d0.s1| ++-----------------------------+-------------+-------------+ +|1970-01-01T08:00:00.001+08:00| 0.0| true| +|1970-01-01T08:00:00.002+08:00| 1.1| true| +|1970-01-01T08:00:00.003+08:00| 1.2| true| +|1970-01-01T08:00:00.004+08:00| 1.3| false| +|1970-01-01T08:00:00.005+08:00| 0.0| false| ++-----------------------------+-------------+-------------+ +``` + +SQL for query: + +```SQL +select pattern_match (s0, "timePattern"="1,2,3", "valuePattern"="1.1,1.2,1.3", "threshold"="0.5") as match_result1, pattern_match (s1, "timePattern"="1,2,3", "valuePattern"="1,1,1", + "threshold"="0.5") as match_result2 from root.db.d0 +``` + +Output series: + +```SQL ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +| match_result1| match_result2| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +|[{"distance":0.200000,"startTime":1,"endTime":3}, {"distance":0.000000,"startTime":2,"endTime":4}]|[{"distance":0.000000,"startTime":1,"endTime":3}]| ++--------------------------------------------------------------------------------------------------+-------------------------------------------------+ +``` ## Data Repairing diff --git a/src/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md b/src/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md index 675c870b7..f3350e476 100644 --- a/src/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md +++ b/src/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md @@ -4300,26 +4300,173 @@ Output series: +-----------------------------+---------------------------------------+ ``` - ## 7. Data Repairing diff --git a/src/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md b/src/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md index 21151b7f0..8c38e926f 100644 --- a/src/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md @@ -4359,27 +4359,173 @@ Output series: |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### 6.6 Pattern\_match - ## 7. Data Repairing diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md b/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md index 096fd4c16..b3dc1baf2 100644 --- a/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md +++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_apache.md @@ -4416,26 +4416,172 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 +-----------------------------+---------------------------------------+ ``` - ## 7. 数据修复 diff --git a/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md b/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md index 42756d5e2..45db353e3 100644 --- a/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/zh/UserGuide/Master/Tree/SQL-Manual/UDF-Libraries_timecho.md @@ -4403,26 +4403,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 +-----------------------------+---------------------------------------+ ``` - ## 7. 数据修复 diff --git a/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md b/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md index b35e35e1a..b9dcdba02 100644 --- a/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md +++ b/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_apache.md @@ -4416,26 +4416,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 +-----------------------------+---------------------------------------+ ``` - ## 数据修复 diff --git a/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md b/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md index e9d71a727..1f70c6ae7 100644 --- a/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/zh/UserGuide/V1.3.x/SQL-Manual/UDF-Libraries_timecho.md @@ -4402,27 +4402,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### 6.6 Pattern\_match - ## 数据修复 diff --git a/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md b/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md index b35e35e1a..b5bb592a0 100644 --- a/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md +++ b/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_apache.md @@ -4415,27 +4415,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### 6.6 Pattern\_match - ## 数据修复 diff --git a/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md b/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md index e9d71a727..1f70c6ae7 100644 --- a/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/zh/UserGuide/dev-1.3/SQL-Manual/UDF-Libraries_timecho.md @@ -4402,27 +4402,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 |1970-01-01T08:00:00.009+08:00| 6.0| +-----------------------------+---------------------------------------+ ``` +### 6.6 Pattern\_match - ## 数据修复 diff --git a/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md b/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md index 096fd4c16..b3dc1baf2 100644 --- a/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md +++ b/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_apache.md @@ -4416,26 +4416,172 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 +-----------------------------+---------------------------------------+ ``` - ## 7. 数据修复 diff --git a/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md b/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md index 42756d5e2..45db353e3 100644 --- a/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/zh/UserGuide/latest/SQL-Manual/UDF-Libraries_timecho.md @@ -4403,26 +4403,173 @@ select xcorr(s1, s2) from root.test.d1 where time <= 2020-01-01 00:00:05 +-----------------------------+---------------------------------------+ ``` - ## 7. 数据修复