Skip to content

Fixes 31760: clarify MatchEnum behavior for column values - #32123

Merged
TeddyCr merged 3 commits into
open-metadata:mainfrom
Himanshuagrawal4:PRO/openmetadata-matchenum-docs
Sep 4, 2026
Merged

TeddyCr merged 3 commits into
open-metadata:mainfrom
Himanshuagrawal4:PRO/openmetadata-matchenum-docs

Conversation

@Himanshuagrawal4

@Himanshuagrawal4 Himanshuagrawal4 commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #31760

Describe your changes:

This clarifies the two matchEnum modes in both the test definition and the UI
documentation. It explains that true requires every observed value to be in
the allowed set, while false or an omitted setting performs a presence check.
It also adds the issue's example and notes that neither mode requires every
allowed value to occur.

Type of change:

  • Documentation

High-level design:

N/A - small documentation change.

Tests:

Use cases covered

  • matchEnum=true with an unexpected value
  • default/false mode with at least one allowed value
  • either mode with no allowed values present

Unit tests

Not applicable; no runtime logic changed. The wording was checked against the
existing ingestion implementation and tests.

Backend integration tests

Not applicable; no backend API changes.

Ingestion integration tests

Not applicable; no ingestion logic changes.

Playwright (UI) tests

Not applicable; no UI behavior changed.

Manual testing performed

  1. Parsed columnValuesToBeInSet.json.
  2. Compared the descriptions with the current ingestion implementation and
    tests for both matchEnum modes.
  3. Ran git diff --check.

UI screen recording / screenshots:

Not applicable; this changes explanatory text only.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • For JSON Schema changes: not applicable; this edits a test-definition
    data file, not a JSON Schema or migration.
  • For UI changes: not applicable; no UI behavior changed.
  • Tests are not applicable because no runtime logic changed; validation is
    listed above.

Greptile Summary

This documentation-only PR clarifies the two Match enum modes and adds examples of their behavior.

  • Explains that enabled mode requires every observed value to belong to the allowed set.
  • Explains that disabled or omitted mode performs a presence check.
  • Notes that neither mode requires every configured allowed value to occur.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains.

No blocking failure remains.

Important Files Changed

Filename Overview
openmetadata-service/src/main/resources/json/data/tests/columnValuesToBeInSet.json Clarifies the test definition and parameter descriptions without changing runtime behavior.
openmetadata-ui/src/main/resources/ui/public/locales/en-US/OpenMetadata/TestCaseForm.md Expands the user-facing Match enum explanation and adds representative examples.

Reviews (2): Last reviewed commit: "Merge branch 'main' into PRO/openmetadat..." | Re-trigger Greptile

@gitar-bot

gitar-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Clarifies the matchEnum behavior for column values in the test definition and documentation. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@Himanshuagrawal4
Himanshuagrawal4 marked this pull request as ready for review August 27, 2026 18:35
@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@Himanshuagrawal4

Himanshuagrawal4 commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor Author

The metadata check says linked issue #31760 needs to be added to the Shipping project. Could a maintainer add it with the required fields, rerun the cancelled Team Label job and the checks that depend on it, and approve the fork workflows? Team Label never got a hosted runner, and the new build jobs are stopping while waiting for it. I tried rerunning it, but GitHub requires repository admin rights. The PR is ready for review now.

@harshach harshach added the safe to test Add this label to run secure Github workflows on PRs label Aug 27, 2026
@github-actions github-actions Bot removed the safe to test Add this label to run secure Github workflows on PRs label Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@github-actions github-actions Bot removed the safe to test Add this label to run secure Github workflows on PRs label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@TeddyCr TeddyCr added the safe to test Add this label to run secure Github workflows on PRs label Sep 4, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: vague MatchEnum description for ColumnValuesToBeInSet Test Case

3 participants