-
Notifications
You must be signed in to change notification settings - Fork 314
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
Fuzz test for deleting rows from tables #3761
Comments
I am a beginner in Rust and am quite interested in greptime. Can I contribute to this? |
Hi @hanxuanliang, thank you for your interest. Fuzz tests could be a little tricky. The first challenge is how to validate deleted values. Do you have any ideas? |
I have reviewed the current test-fuzz structure, and the general approach is as follows:
|
Cool, almost there.
|
At the same time, I found that there is no whereExpr provided in selectExpr, so does it mean that deleteExpr only needs to delete the entire table's data? |
Nope, We want to cover more cases.
For The whole picture will be like this:
I prefer to implement the where clause for the |
During the process of reading tests-fuzz-README, I encountered a problem. The specific compilation error is in the following file. What aspects can I look into to find a solution? |
What about |
The issue still persists. My current platform is: platform: Mac M2 Max
OS: macOS 14.4.1 |
try this
|
What type of enhancement is this?
Tech debt reduction, Other
What does the enhancement do?
Looks like we missing the fuzz test for deleting rows from tables.
It's an important API that should be carefully tested.
Implementation challenges
@WenyXu Could you provide some docs or code to help developers that would be interested in implementing this feature? Thank you.
The text was updated successfully, but these errors were encountered: