Skip to content

Commit 917df4f

Browse files
longtb976zhangshunmin
andauthored
[fix-13041] fix example checkFormula (#13110)
Co-authored-by: zhangshunmin <zhangshunmin@kezaihui.com>
1 parent 3164962 commit 917df4f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/en/guide/data-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar
3434
| CheckFormula | <ul><li>Expected-Actual</li><li>Actual-Expected</li><li>(Actual/Expected)x100%</li><li>(Expected-Actual)/Expected x100%</li></ul> |
3535
| Operator | =, >, >=, <, <=, != |
3636
| 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> |
37-
| Example | <ul><li>CheckFormula:Expected-Actual</li><li>Operator:></li><li>Threshold:0</li><li>ExpectedValue:FixValue=9</li></ul> |
37+
| Example | <ul><li>CheckFormula:Actual-Expected</li><li>Operator:></li><li>Threshold:0</li><li>ExpectedValue:FixValue=9</li></ul> |
3838

3939
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.
4040

docs/docs/zh/guide/data-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar
4545
- 源表总行数
4646
- 目标表总行数
4747
- 例子
48-
- 校验方式为:[Expected-Actual][期望值-实际值]
48+
- 校验方式为:[Actual-Expected][实际值-期望值]
4949
- [操作符]:>
5050
- [阈值]:0
5151
- 期望值类型:固定值=9。

0 commit comments

Comments
 (0)