From c6b9afe878a0546540f441329fa0e487557ef7a2 Mon Sep 17 00:00:00 2001 From: longtb <67264931+longtb976@users.noreply.github.com> Date: Sat, 10 Dec 2022 12:23:44 +0800 Subject: [PATCH] [fix-13041] fix example checkFormula (#13110) Co-authored-by: zhangshunmin (cherry picked from commit 917df4f6ca9513f0d535f5c3b8ceb372a0ad9966) --- docs/docs/en/guide/data-quality.md | 4 ++-- docs/docs/zh/guide/data-quality.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/en/guide/data-quality.md b/docs/docs/en/guide/data-quality.md index ec308df3bb..0df3bbdcb7 100644 --- a/docs/docs/en/guide/data-quality.md +++ b/docs/docs/en/guide/data-quality.md @@ -33,8 +33,8 @@ data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar | CheckFormula | | | Operator | =, >, >=, <, <=, != | | ExpectedValue | | -| Example | - +| Example | | + 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. # Task Operation Guide diff --git a/docs/docs/zh/guide/data-quality.md b/docs/docs/zh/guide/data-quality.md index 50e2c92f14..718efc2352 100644 --- a/docs/docs/zh/guide/data-quality.md +++ b/docs/docs/zh/guide/data-quality.md @@ -44,12 +44,12 @@ data-quality.jar.name=dolphinscheduler-data-quality-dev-SNAPSHOT.jar - 目标表总行数 - 例子 - - 校验方式为:[Expected-Actual][期望值-实际值] - - [操作符]:> - - [阈值]:0 - - 期望值类型:固定值=9。 - - 假设实际值为10,操作符为 >, 期望值为9,那么结果 10 -9 > 0 为真,那就意味列为空的行数据已经超过阈值,任务被判定为失败 + - 校验方式为:[Actual-Expected][实际值-期望值] + - [操作符]:> + - [阈值]:0 + - 期望值类型:固定值=9。 + + 假设实际值为10,操作符为 >, 期望值为9,那么结果 10 -9 > 0 为真,那就意味列为空的行数据已经超过阈值,任务被判定为失败 # 任务操作指南 ## 单表检查之空值检查