dqx
dqx copied to clipboard
Databricks framework to validate Data Quality of pySpark DataFrames and Tables
## Summary Support `sql_query` checks that query more than one table when they run through the DQX MCP server. ## Background #1721 makes reference-table checks work through the MCP server:...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Problem statement # Problem statement DQX Studio's core package already includes an alerting...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Problem statement The current `generate_rules_from_contract` API on both `DQGenerator` and `DataContractRulesGenerator` requires a...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior In certain conditions, when setting a schedule the permissions engine is...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior `_compute_rule_summary` in `mcp-server/runner/src/dqx_mcp_runner/runner.py` counts errors and warnings per rule **name** (`groupBy("item.name")`)....
### Is there an existing issue for this? - [X] I have searched the existing issues ### Problem statement ODCS lets a `string` property say which format its values follow,...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior `get_limit_expr` (`src/databricks/labs/dqx/check_funcs.py`) reads string limits with `datetime.fromisoformat`, and decides date vs...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Problem statement Although the `generate_rules_from_contract` feature supports deep recursion for rules nested within...
## Context Follow-up from review on [PR #1485](https://github.com/databrickslabs/dqx/pull/1485) (ODCS `type: library` quality metric support): [comment](https://github.com/databrickslabs/dqx/pull/1485#discussion_r2ndlfx). DQX's `type: library` data-contract rule generator maps ODCS quality metrics (`rowCount`, `nullValues`, `missingValues`, `invalidValues`, `duplicateValues`)...
Spark, Delta and Unity Catalog all allow a period in a column name or a struct field name, as long as the name is in backticks. The [identifier rules](https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names) forbid...