Skip to content
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

fix: Issue 1325 #1328

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Conversation

sundar-mudupalli-work
Copy link
Collaborator

Hi,

Random Row validation was not possible due to a CLI bug introduced in PR 1310. Basically, the command line would only accept --use-random-row or -rr, while the backend could only understand use_random_rows which was always false because 'use_random_row' != 'use_random_rows'.

In order to not create a breaking change - the CLI accepts --use-random-row and -rr and translates them into use_random_rows, which the backend can understand.

We have tests for random rows, for multiple engines - they all bypass the CLI. We have a CLI unit test, but only for column validation. Random rows is an argument to Row validation, therefore opened issue 1327

Sundar Mudupalli

@sundar-mudupalli-work sundar-mudupalli-work requested a review from a team as a code owner November 11, 2024 19:28
Copy link

conventional-commit-lint-gcf bot commented Nov 11, 2024

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@sundar-mudupalli-work sundar-mudupalli-work changed the title fix: Emergency fix to issue 1325 fix: Issue 1325 Nov 11, 2024
@sundar-mudupalli-work
Copy link
Collaborator Author

/gcbrun

Copy link
Contributor

@nj1973 nj1973 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for quick turnaround

@sundar-mudupalli-work sundar-mudupalli-work merged commit dfe8b8b into develop Nov 11, 2024
5 checks passed
@sundar-mudupalli-work sundar-mudupalli-work deleted the issue-1325-random-row-bug-fix branch November 11, 2024 22:48
@helensilva14 helensilva14 linked an issue Nov 13, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random row filter is not working in latest release
2 participants