Browse Source

[fix-13041] fix example checkFormula (#13110)

Co-authored-by: zhangshunmin <zhangshunmin@kezaihui.com>
3.2.0-release
longtb 2 years ago committed by GitHub
parent
commit
917df4f6ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/docs/en/guide/data-quality.md
  2. 2
      docs/docs/zh/guide/data-quality.md

2
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> | | CheckFormula | <ul><li>Expected-Actual</li><li>Actual-Expected</li><li>(Actual/Expected)x100%</li><li>(Expected-Actual)/Expected x100%</li></ul> |
| Operator | =, >, >=, <, <=, != | | 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> | | 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. 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.

2
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 - [阈值]:0
- 期望值类型:固定值=9。 - 期望值类型:固定值=9。

Loading…
Cancel
Save