Skip to content

Fork test: PR #1384 - Refactor profiler column metrics into an extensible registry - #1529

Closed
mwojtyczka wants to merge 31 commits into
mainfrom
fork-test/pr-1384
Closed

Fork test: PR #1384 - Refactor profiler column metrics into an extensible registry#1529
mwojtyczka wants to merge 31 commits into
mainfrom
fork-test/pr-1384

Conversation

@mwojtyczka

Copy link
Copy Markdown
Contributor

Automated sync from fork PR for CI testing.

Original PR: #1384

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

IvannKurchenko and others added 30 commits July 29, 2026 06:41
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…nKurchenko/dqx into feature/profiler_additional_metrics
…nKurchenko/dqx into feature/profiler_additional_metrics
…nKurchenko/dqx into feature/profiler_additional_metrics
DataFrame.summary() emits percentile rows labelled 25%/50%/75%, and the
profiler stores them verbatim (_summarize: metric = row_dict["summary"]).
The reference table listed them as 25/50/75, so a custom builder doing
profiler_metrics.get("50") always got None. Document the literal keys.

Co-authored-by: Isaac <no-reply@databricks.com>
…ferences

- Call register_profile_column_metric / register_profile_builder decorators
- Drop misleading 'at no extra cost'; note each metric adds work per run
- Tie profile_column_metric_type to the concrete decorator argument
- Document the metric and builder function interfaces (inputs/outputs)
- Frame generated profiles as data quality rule suggestions
- Cross-reference the reference page's Custom Column Metrics section

Co-authored-by: Isaac <no-reply@databricks.com>
…overwrite

- Add integration test for the full extension path: a custom column metric
  consumed by a custom register_profile_builder builder, producing a DQProfile
  via the public profile() API (also asserts the built-in count_distinct metric)
- Add a builder-registry snapshot fixture for test isolation
- Add a unit test for the column-metric overwrite-and-warn path

Co-authored-by: Isaac <no-reply@databricks.com>
@mwojtyczka
mwojtyczka requested a review from a team as a code owner September 11, 2026 13:57
@mwojtyczka
mwojtyczka requested review from tombonfert and removed request for a team September 11, 2026 13:57
@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 Sep 11, 2026
@codecov

codecov Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.96%. Comparing base (45df924) to head (a88902e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1529      +/-   ##
==========================================
+ Coverage   92.81%   92.96%   +0.14%     
==========================================
  Files         141      142       +1     
  Lines       13690    13864     +174     
  Branches      151      151              
==========================================
+ Hits        12707    12888     +181     
+ Misses        914      906       -8     
- Partials       69       70       +1     
Flag Coverage Δ
anomaly 51.43% <44.57%> (-0.31%) ⬇️
anomaly-serverless 51.44% <44.57%> (-0.31%) ⬇️
integration 47.30% <55.42%> (-0.58%) ⬇️
integration-serverless 49.14% <55.42%> (+0.34%) ⬆️
mcp 80.44% <ø> (+0.09%) ⬆️
unit 66.30% <62.65%> (+0.36%) ⬆️

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 Sep 11, 2026

Copy link
Copy Markdown
Contributor

✅ 1004/1004 passed, 3 flaky, 63 skipped, 6h25m32s total

Flaky tests:

  • 🤪 test_save_idempotency_overwrite_mode (1m20.86s)
  • 🤪 test_save_append_then_overwrite_same_run_config (1m31.127s)
  • 🤪 test_save_and_load_checks_from_lakebase_table_with_run_config (1m4.135s)

Running from acceptance #5880

@github-actions

Copy link
Copy Markdown
Contributor

✅ 1/1 passed, 31m59s total

Running from mcp #629

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

✅ 195/195 passed, 1 flaky, 1 skipped, 7h4m6s total

Flaky tests:

  • 🤪 test_ai_query_explanation_one_call_per_group (5m44.218s)

Running from anomaly #1994

@mwojtyczka mwojtyczka closed this Sep 11, 2026
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.

2 participants