diff --git a/src/gausskernel/dbmind/tools/app/diagnosis/query/slow_sql/significance_detection/__init__.py b/src/gausskernel/dbmind/tools/app/diagnosis/query/slow_sql/significance_detection/__init__.py index 214efbabf..14eaa2425 100644 --- a/src/gausskernel/dbmind/tools/app/diagnosis/query/slow_sql/significance_detection/__init__.py +++ b/src/gausskernel/dbmind/tools/app/diagnosis/query/slow_sql/significance_detection/__init__.py @@ -11,6 +11,13 @@ # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. # See the Mulan PSL v2 for more details. +#function name: detect +#description: if the method is "bool" type, then call the functions sum_detect、avg_detect、ks_detect to diagnose errors +#These functions are in the parent slow_sql/significance_detection +#arguments: data1(array), data2(array), method +#return value: bool type +#date: 2022/8/2 +#contact: 1865997821 def detect(data1, data2, method='bool', threshold=0.01, p_value=0.5): if method == 'bool':