Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dqx-apply-checks

Skill by databrickslabs

Applies DQX quality rules to a PySpark DataFrame or Delta table using DQEngine. Aimed at Databricks users who need to run data quality checks, split valid and invalid rows, or quarantine bad records.

  • Score 73
  • 486 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dqx-apply-checks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/databrickslabs/dqx /tmp/dqx && mkdir -p ~/.claude/skills && cp -r /tmp/dqx/skills/dqx-apply-checks ~/.claude/skills/dqx-apply-checks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dqx-apply-checks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through applying DQX data quality rules with DQEngine. Rules can be written as DQX classes such as DQRowRule and DQDatasetRule, or as metadata loaded from YAML, JSON or Delta. Methods are grouped by rule form and output: appending result columns, splitting valid and invalid rows, or running an end-to-end read, check and write.

The checks append struct columns named _errors and _warnings that list failing rules, with fields such as name, message and function. The skill also covers multi-table runs with apply_checks_and_save_in_tables and wildcard patterns. It is written for data engineers working with PySpark, Delta tables and streaming pipelines.

Written from the project's SKILL.md and checked against it.

What it can do

  • apply_checksAppends _errors and _warnings result columns to a DataFrame using DQX class rules.
  • apply_checks_and_splitSplits a DataFrame into valid and invalid DataFrames based on error severity.
  • apply_checks_by_metadataApplies rules defined as metadata (list of dicts) and appends result columns.
  • apply_checks_by_metadata_and_splitSplits a DataFrame into valid and invalid rows using metadata-defined rules.
  • apply_checks_and_save_in_tablesRuns many input and output table pairs in one call using RunConfig entries.
  • apply_checks_and_save_in_tables_for_patternsExpands Unity Catalog wildcard patterns and runs checks on the matching tables.
  • DQEngine.validate_checksRaises an error on bad check definitions before any data is processed.
  • Result column shapeDescribes the _errors and _warnings struct fields, including skipped entries.

What you need

  • Python with PySpark
  • Spark session (Databricks notebook or job, or a local SparkSession)
  • DQX library (databricks.labs.dqx)
  • Databricks SDK WorkspaceClient

Try asking

  • Run DQX data quality checks on catalog.schema.input
  • Split my table into valid and invalid rows using these DQX rules
  • Quarantine bad records from my Delta table with DQX

Good to know

  • Do not mix DQX classes and metadata rules in one call.
  • apply_checks_and_save_in_tables_for_patterns requires a checks_location.
  • Column names and skipped-entry behavior are set through additional configuration.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/dqx-apply-checks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to dqx-apply-checks

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

dqx-apply-checks: common questions

What does DQX apply_checks return?

It returns one DataFrame with _errors and _warnings struct columns appended. Each column lists the rules that failed at that severity.

Can DQX checks run on streaming DataFrames?

Yes. The source says the same apply_checks methods work on streaming DataFrames as on batch DataFrames.

How do I split valid and invalid rows with DQX?

Use apply_checks_and_split or apply_checks_by_metadata_and_split. The split is based on error severity, and warnings stay with the valid rows.

How do I install dqx-apply-checks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dqx-apply-checks free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is dqx-apply-checks safe to use?

It scores 73 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dqx-apply-checks?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

dqx-apply-checks Install

Add to stack

Loading.