A unified data governance solution that helps manage, protect, and discover data across your organization
Hi @Anuj Pratap Solanki
To confirm clearly - full SQL-based rules are not supported today in Purview Health Management. The rule engine is intentionally limited to expression-based logic (column-level conditions), and there isn’t a way to plug in arbitrary SQL for validation.
That said, for SQL-driven scenarios, the expectation is to handle those checks outside Purview and use Purview mainly for visibility and governance, not execution of complex query logic.
What typically works in practice:
Pre-validation using SQL (ADF / Synapse / Databricks)
Run your SQL-based checks as part of your pipeline and:
- Store results (pass/fail, metrics)
- Optionally surface them back via metadata or reporting
Use views to encapsulate logic
If your validation can be expressed as a dataset/view:
- Create a SQL view with your logic
- Then apply Purview rules on top of that derived dataset
Hybrid approach (most common)
- SQL → does heavy validation
- Purview → tracks data quality status, ownership, and governance
Purview Data Quality rules are designed to be:
- Source-agnostic
- Lightweight and standardized
Allowing full SQL would make rule execution dependent on specific engines and break that abstraction.
There’s no public confirmation yet for native SQL rule support. If this is critical for your scenario, it’s worth raising via feedback channels so the product team can track demand.
Hope this helps.