-
-
Notifications
You must be signed in to change notification settings - Fork 109
Fix #404 - Implement ALTER EVENT
#408
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
Conversation
Codecov ReportBase: 97.25% // Head: 97.25% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #408 +/- ##
=========================================
Coverage 97.25% 97.25%
- Complexity 2192 2194 +2
=========================================
Files 68 68
Lines 5055 5057 +2
=========================================
+ Hits 4916 4918 +2
Misses 139 139
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I think @iifawzi would better know if this feels right or not |
I added some unit tests, I hope I did it well. AFAIK, this is now ready for review. Just to let you know, there are just 1 drawback I have found: |
Would you mind opening a new pull-request with all of your commits but not the two source file changes ? This is because I would like to merge all the testing part so we can see the difference after the implementation is made and what it was before in terms of rm tests/data/**/*.out
./tools/run_generators.sh To have the changes after a new implementation on all out files |
I’m not sure I get it. I guess what you want is the list of .in files and the .out files but generated from a previous state (when the source files weren’t changed) so that with this current PR (#408), you’ll see only the source files changes + updates of the .out files, and you would be capable of comparing those .out files, am I right? I’ll do this today: providing a PR with new keywords, new unit tests about ALTER EVENT statements, but without the feature implementation. Is this ok for you? |
Yes exactly And yes the goal is to see the diff in out files with the new implementation, you got it right
Yes |
@williamdes Here is the PR: #409. Please tell me if something is wrong, I'll try to fix it ASAP. Thanks again. |
I merged #409 thank you for this effort 🎉 |
ALTER EVENT
This's an issue that impacts many of the components, you're right. only the |
Failing test about mutation is about network issue I would say. Would it be possible to re-run it please? |
Merci for your patience and hard work @niconoe- ! |
De rien, et avec plaisir ;) |
Hello all.
I'm working IRL with @SanaRebhi and we tried to make a proposal in order to solve this topic.
I made some manual tests and it looks like it's OK, but I want to go deeper and add unit tests also to cover (almost) all test cases about ALTER EVENT statements, which I don't have time right now.
Current unit-test suite is passing (with 2 ignored test-cases out of this range) locally.
Please feel free to tell me if this approch is a good one and I can continue to write tests or if you have another way in mind to manage it.
Thanks a lot.
Fixes: #404