MINOR: table diff docs (#16836)

* docs: table-diff

- copied openmetadata-docs/content/v1.4.x/how-to-guides/data-quality-observability/quality/tests-yaml.md to v1.5
- added table diff docs

* docs
This commit is contained in:
Imri Paran 2024-07-02 15:21:27 +02:00 committed by GitHub
parent 10b480ee15
commit d4a2e5487c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1377 additions and 3 deletions

View File

@ -36,7 +36,8 @@ OpenMetadata currently supports the following table level test types:
5. Custom SQL Query: Define a SQL expression. Select a strategy if it should apply for Rows or for Count. Define a threshold to determine if the test passes or fails.
6. Table Row Count to be Between: Define the Min. and Max.
7. Table Row Count to Equal: Define a number.
8. Table Row Inserted Count to be Between: : Define the Min. and Max. row count. This test will work for columns whose values are of the type Timestamp, Date, and Date Time field. Specify the range type in terms of Hour, Day, Month, or Year. Define the interval based on the range type selected.
8. Table Row Inserted Count to be Between: Define the Min. and Max. row count. This test will work for columns whose values are of the type Timestamp, Date, and Date Time field. Specify the range type in terms of Hour, Day, Month, or Year. Define the interval based on the range type selected.
9. Compare 2 tables for differences: Select the table to compare with. Define the columns to compare. You can also define the threshold for the comparison.
{% image
src="/images/v1.5/how-to-guides/quality/test4.png"

View File

@ -18,7 +18,7 @@
{
"name": "keyColumns",
"displayName": "Key Columns",
"description": "The columns to use as the key for the comparison. If not provided, it will be resolved from the primary key or unique columns.",
"description": "The columns to use as the key for the comparison. If not provided, it will be resolved from the primary key or unique columns. The tuples created from the key columns must be unique.",
"dataType": "ARRAY",
"required": false
},
@ -32,7 +32,7 @@
{
"name": "useColumns",
"displayName": "Use Columns",
"description": "The columns to use for the comparison. If not provided, all columns will be used.",
"description": "Limits the scope of the test to this list of columns. If not provided, all columns will be used except the key columns.",
"dataType": "ARRAY",
"required": false
},