mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* Add DQ Rules Library
* Add DQ Rules Library - Add Tests and enable testDefinitions through APIs to list
* Add DQ Rules Library - Add Tests and enable testDefinitions through APIs to list
* Add DQ Rules Library - Add Tests and enable testDefinitions through APIs to list
* Update generated TypeScript types
* Add DQ Rules Library - Add Tests and enable testDefinitions through APIs to list
* Add DQ Rules Library - Add Tests and enable testDefinitions through APIs to list
* Update generated TypeScript types
* Refactor tests to use toStrictEqual for string comparisons and improve consistency
- Updated various test files to replace `toBe` with `toStrictEqual` for string assertions in ImportStatus, SummaryCard, TabsLabel, and others.
- Enhanced regex tests to ensure accurate validation of entity names and tags.
- Added new translations for test platform warnings in en-us.json.
- Improved utility tests for alerts, authentication, CSV handling, and task messages to use `toEqual` for better clarity.
* Refactor TestDefinitionForm and TestDefinitionList components to use updated API methods and improve SQL expression handling
* Enhance TestDefinitionList component with permission checks for edit and delete actions, and update tests to reflect changes in permission handling
* Remove debug log from handleSubmit in TestDefinitionForm component
* Add permission loading state and enhance permission handling in TestDefinitionList component
* Update generated TypeScript types
* Update generated TypeScript types
* Update generated TypeScript types
* fix build failure
* Revert "Update generated TypeScript types"
This reverts commit 67b062216f.
* Enhance TestDefinitionForm and TestDefinitionList components with improved UI and pagination handling
* fix: update RulesLibrary tests and enhance TestDefinitionForm styling
* fix: Enhance TestDefinitionForm with error handling and improved UX
* fix: Update test definition handling and improve rendering in TestDefinitionList
* fix: Refactor TestDefinitionPermissions tests for improved permission checks and API context handling
* fix: Update system test definition retrieval to use findLast for improved accuracy
* feat: Add end-to-end tests for Rules Library and Test Definition Permissions
* fix: Update edit button visibility check to use beDisabled for better clarity
* fix: Refactor response handling in TestDefinitionPermissions tests for improved reliability
* move migrations execution order
* fix: remove existing columns
* style: remove migration extra line break
* chore: fix migration
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: TeddyCr <teddy.crepineau@gmail.com>
77 lines
No EOL
2.3 KiB
JSON
77 lines
No EOL
2.3 KiB
JSON
{
|
|
"name": "tableDiff",
|
|
"fullyQualifiedName": "tableDiff",
|
|
"displayName": "Compare 2 tables for differences",
|
|
"description": "Test if 2 tables have less that <threshold> diff rows.",
|
|
"entityType": "TABLE",
|
|
"testPlatforms": [
|
|
"OpenMetadata"
|
|
],
|
|
"parameterDefinition": [
|
|
{
|
|
"name": "keyColumns",
|
|
"displayName": "Table 1's 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. The tuples created from the key columns must be unique.",
|
|
"dataType": "ARRAY",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "table2",
|
|
"displayName": "Table 2",
|
|
"description": "Fully qualified name of the table to compare against.",
|
|
"dataType": "STRING",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "table2.keyColumns",
|
|
"displayName": "Table 2's key columns",
|
|
"description": "The columns in table 2 to use as comparison. If not provided, it will default to `Key Columns`, risking errors if the key columns' names have changed.",
|
|
"dataType": "ARRAY",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "threshold",
|
|
"displayName": "Threshold",
|
|
"description": "Threshold to use to determine if the test passes or fails (defaults to 0).",
|
|
"dataType": "NUMBER",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "useColumns",
|
|
"displayName": "Use Columns",
|
|
"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
|
|
},
|
|
{
|
|
"name": "where",
|
|
"displayName": "SQL Where Clause",
|
|
"description": "Use this where clause to filter the rows to compare.",
|
|
"dataType": "STRING",
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "caseSensitiveColumns",
|
|
"displayName": "Case sensitive columns",
|
|
"description": "Use case sensitivity when comparing the columns.",
|
|
"dataType": "BOOLEAN",
|
|
"required": false
|
|
}
|
|
],
|
|
"provider": "system",
|
|
"enabled": true,
|
|
"dataQualityDimension": "Consistency",
|
|
"supportedServices": [
|
|
"Snowflake",
|
|
"BigQuery",
|
|
"Athena",
|
|
"Redshift",
|
|
"Postgres",
|
|
"MySQL",
|
|
"Mssql",
|
|
"Oracle",
|
|
"Trino",
|
|
"SapHana"
|
|
]
|
|
}
|
|
|