All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.data.tests.tableCustomSQLQuery.json Maven / Gradle / Ivy

There is a newer version: 1.5.11
Show newest version
{
  "name": "tableCustomSQLQuery",
  "fullyQualifiedName": "tableCustomSQLQuery",
  "displayName": "Custom SQL Query",
  "description": "Test if a custom SQL returns 0 row or `COUNT() == 0`",
  "entityType": "TABLE",
  "testPlatforms": ["OpenMetadata"],
  "parameterDefinition": [
      {
        "name": "sqlExpression",
        "displayName": "SQL Expression",
        "description": "SQL expression to run against the table",
        "dataType": "STRING",
        "required": "true"
      },
      {
        "name": "strategy",
        "displayName": "Strategy",
        "description": "Strategy to use to run the custom SQL query (i.e. `SELECT COUNT()` or `SELECT  (defaults to ROWS)",
        "dataType": "ARRAY",
        "optionValues": ["ROWS", "COUNT"],
        "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
      }
    ],
    "provider": "system",
    "dataQualityDimension": "SQL"
  }
  




© 2015 - 2024 Weber Informatics LLC | Privacy Policy