Skip to content

Fork test: PR #1309 - Feature/validate upstream tables - #1367

Closed
mwojtyczka wants to merge 17 commits into
mainfrom
fork-test/pr-1309
Closed

Fork test: PR #1309 - Feature/validate upstream tables#1367
mwojtyczka wants to merge 17 commits into
mainfrom
fork-test/pr-1309

Conversation

@mwojtyczka

Copy link
Copy Markdown
Contributor

Automated sync from fork PR for CI testing.

Original PR: #1309

All tests, including unit and integration tests run on this PR (they are skipped for fork PRs).

STEFANOVIVAS and others added 16 commits July 6, 2026 23:22
…ng functions as _is_aggr_compare and _get_ref_df, avoiding re-implementing existing logic
…VIVAS/dqx into feature/validate_upstream_tables
- Wire aggr_matches_dataset into the all-dataset-checks coverage: add it to
  all_dataset_checks.yaml and both all-checks integration tests
  (test_apply_checks_all_checks_as_yaml already loads the YAML;
  test_apply_checks_all_checks_using_classes gains the class-based check plus
  ref_dfs), exercising the declarative/YAML round-trip like the sibling
  dataset checks.
- Add count_distinct + group_by integration tests (match, mismatch, and a
  NULL group key) to lock in grouped distinct-count behaviour for this check;
  the NULL-key case asserts flagging behaviour rather than exact message text
  since the window-incompatible join is not null-safe (documented).
- Add performance benchmarks: dataset-wide count comparison and the
  count_distinct + group_by two-stage join path.

Co-authored-by: Isaac
# Conflicts:
#	src/databricks/labs/dqx/check_funcs.py
@mwojtyczka
mwojtyczka requested a review from a team as a code owner July 23, 2026 11:00
@mwojtyczka mwojtyczka added do-not-merge The PR is blocked, e.g. being worked on and not ready. Not using draft to be able to test changes. fork-test labels Jul 23, 2026
@mwojtyczka
mwojtyczka requested review from nehamilak-db and removed request for a team July 23, 2026 11:00
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.49123% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.76%. Comparing base (ab30bde) to head (96ef089).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/databricks/labs/dqx/check_funcs.py 96.49% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1367      +/-   ##
==========================================
+ Coverage   91.55%   92.76%   +1.21%     
==========================================
  Files         102      102              
  Lines       10429    10524      +95     
==========================================
+ Hits         9548     9763     +215     
+ Misses        881      761     -120     
Flag Coverage Δ
anomaly 53.92% <5.26%> (+33.01%) ⬆️
anomaly-serverless 53.93% <5.26%> (+33.00%) ⬆️
integration 50.09% <91.22%> (-0.23%) ⬇️
integration-serverless 50.94% <91.22%> (+0.18%) ⬆️
unit 58.96% <29.82%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

✅ 1/1 passed, 19m5s total

Running from mcp #63

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

✅ 821/821 passed, 42 skipped, 6h15m17s total

Running from acceptance #5242

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

✅ 194/194 passed, 2 skipped, 7h22m11s total

Running from anomaly #1356

The MCP suite (tests/integration_mcp) only ran on PRs touching mcp-server/,
src/databricks/labs/dqx/, or the mcp workflow — so nightly never exercised it.
Add an mcp-tests job to nightly.yml mirroring the mcp.yml PR job (setup-env,
prebuild-wheel, install Databricks CLI, acceptance harness with the
integration_mcp codegen), minus the PR-only fork gate since nightly is
schedule-triggered. No coverage upload (the MCP server/runner execute remotely).

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge The PR is blocked, e.g. being worked on and not ready. Not using draft to be able to test changes. fork-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants