This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 917df4f6ca [fix-13041] fix example checkFormula (#13110)
917df4f6ca is described below
commit 917df4f6ca9513f0d535f5c3b8ceb372a0ad9966
Author: longtb <[email protected]>
AuthorDate: Sat Dec 10 12:23:44 2022 +0800
[fix-13041] fix example checkFormula (#13110)
Co-authored-by: zhangshunmin <[email protected]>
---
docs/docs/en/guide/data-quality.md | 2 +-
docs/docs/zh/guide/data-quality.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/docs/en/guide/data-quality.md
b/docs/docs/en/guide/data-quality.md
index ef0d5e65b4..527294300b 100644
--- a/docs/docs/en/guide/data-quality.md
+++ b/docs/docs/en/guide/data-quality.md
@@ -34,7 +34,7 @@
data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar
| CheckFormula |
<ul><li>Expected-Actual</li><li>Actual-Expected</li><li>(Actual/Expected)x100%</li><li>(Expected-Actual)/Expected
x100%</li></ul> |
| Operator | =, >, >=, <, <=, !=
|
| ExpectedValue |
<ul><li>FixValue</li><li>DailyAvg</li><li>WeeklyAvg</li><li>MonthlyAvg</li><li>Last7DayAvg</li><li>Last30DayAvg</li><li>SrcTableTotalRows</li><li>TargetTableTotalRows</li></ul>
|
-| Example |
<ul><li>CheckFormula:Expected-Actual</li><li>Operator:></li><li>Threshold:0</li><li>ExpectedValue:FixValue=9</li></ul>
|
+| Example |
<ul><li>CheckFormula:Actual-Expected</li><li>Operator:></li><li>Threshold:0</li><li>ExpectedValue:FixValue=9</li></ul>
|
In the example, assuming that the actual value is 10, the operator is >, and
the expected value is 9, then the result 10 -9 > 0 is true, which means that
the row data in the empty column has exceeded the threshold, and the task is
judged to fail.
diff --git a/docs/docs/zh/guide/data-quality.md
b/docs/docs/zh/guide/data-quality.md
index 4ee9c2a0b1..6ac00fb5fd 100644
--- a/docs/docs/zh/guide/data-quality.md
+++ b/docs/docs/zh/guide/data-quality.md
@@ -45,7 +45,7 @@
data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar
- 源表总行数
- 目标表总行数
- 例子
- - 校验方式为:[Expected-Actual][期望值-实际值]
+ - 校验方式为:[Actual-Expected][实际值-期望值]
- [操作符]:>
- [阈值]:0
- 期望值类型:固定值=9。