Skip to content

Multicolumn Assertion Display Issue Fix #12958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

inancdokurel
Copy link
Contributor

This fixes #12957

@github-actions github-actions bot added product PR or Issue related to the DataHub UI/UX community-contribution PR or Issue raised by member(s) of DataHub Community labels Mar 24, 2025
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label Mar 24, 2025
@@ -181,7 +181,7 @@ const getAggregationText = (
case DatasetAssertionScope.DatasetRows:
return getRowsAggregationText(aggregation);
case DatasetAssertionScope.DatasetColumn:
return getColumnAggregationText(aggregation, fields?.length === 1 ? fields[0] : undefined);
return getColumnAggregationText(aggregation, fields?.length === 1 ? fields[0] : fields.join(", "));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm i'm not sure this would fix the whole problem here since getColumnAggregationText expects a single column. would you be able to look into how we could support multiple columns in this function or even create a new function for multi-column use cases?

@datahub-cyborg datahub-cyborg bot added pending-submitter-response Issue/request has been reviewed but requires a response from the submitter and removed needs-review Label for PRs that need review from a maintainer. labels Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution PR or Issue raised by member(s) of DataHub Community pending-submitter-response Issue/request has been reviewed but requires a response from the submitter product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multicolumn Assertion Display Issue
2 participants