-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adding random query generation for endtoend testing of the Gen4 planner #13260
Merged
Merged
Changes from 24 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
65c8ca5
group by queries failing with limit and distinct
arvind-murty f575d69
added some failing test cases and a toggle to generate known failing …
arvind-murty e0736a3
fix WaitForAuthoritative function call
arvind-murty ffe4df2
moved randomly generated buggy queries to aggregation
arvind-murty 9bff9e0
added left/right joins
arvind-murty 1f440f3
Refactor sqlparser/random_expr.go to be public
arvind-murty 40298d5
added random expressions to random query generation
arvind-murty 8e80022
fixed syntax error in random query generation group by
arvind-murty 2ec528d
added column aliases
arvind-murty 6fb6f4f
added derived tables
arvind-murty f093992
fixed random_expr_test formatting
arvind-murty f3f00c5
fixed infinite loop in predicate generation
arvind-murty 7eb939d
added column aliases
arvind-murty 3ce4f20
renamed TableT and Col methods
arvind-murty a59380e
reorder failing queries
arvind-murty 34a46cd
refactor random query generation to use the ast
arvind-murty e925343
separated failures in must-fix and known failures
arvind-murty 2a30aea
added two must-fix queries
arvind-murty 5aabd0e
added having to random query generation
arvind-murty 9de596c
removed one passing must-fix query
arvind-murty 8b80cd9
created interface for random expression generation with a schema
arvind-murty 4e07f06
added toggle to fail on EOF and mismatched results errors
arvind-murty 9ef5861
deleted aggregation/fuzz_test.go and minor fixes/changes to random
arvind-murty 656f638
limited query generation to make TestRandom consistently pass
arvind-murty 8e4a1da
rename random/query_gen_test.go to query_gen.go
arvind-murty db14cd4
fixed reviewed comments
arvind-murty c1b1f59
added support for non-aggregate queries and a few more known failures
arvind-murty 51c1431
updated tableT.name comment
arvind-murty 455a7e0
added vtgate/queries/random to CI
arvind-murty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
213 changes: 0 additions & 213 deletions
213
go/test/endtoend/vtgate/queries/aggregation/fuzz_test.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can combine this
if
/else if
into a singleif