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
Test: add mysql ddl compability test #11424
Conversation
optimize hash join by supporting int hashmap (matrixorigin#11411)
|
@aronchanisme Thanks for your contributions! Here are review comments for file test/distributed/cases/ddl/mysql_ddl_1.result: Body:
Changes made in the file
Overall, the pull request seems to add a comprehensive test suite for mysql ddl compatibility. However, there are a few areas that need addressing:
To optimize the changes made in the pull request, consider the following suggestions:
By addressing these issues and optimizing the changes, the pull request will be more informative and easier to review, leading to a higher quality codebase. Here are review comments for file test/distributed/cases/ddl/mysql_ddl_1.sql: Title: Test: add mysql ddl compability test The title of the pull request is clear and concise. It indicates that the changes being made are related to adding a test for MySQL DDL compatibility. Body: The body of the pull request provides some context and information about the changes being made. It mentions that the PR is a test and CI type, and it references an issue that this PR fixes. The body also provides a brief description of what the PR does, which is adding a MySQL DDL compatibility test. It further explains that the test covers various cases related to comments, set variables, engine, char set, key using, lock/unlock, auto_increment, row_format, create view with definer, partition type, long SQL definition, enum type, unused function, and create view within a comment SQL. Changes: The changes made in the pull request are focused on adding a new test file called Suggestions for improvement:
Optimizations:
Overall, the pull request is a good start in adding a test for MySQL DDL compatibility. However, there is room for improvement in terms of providing more detailed explanations and optimizing the test cases. Here are review comments for file test/distributed/cases/ddl/mysql_ddl_2.result: Review:TitleThe title of the pull request is clear and concise. It states that the pull request is adding a test for MySQL DDL compatibility. BodyThe body of the pull request provides some context and information about the changes made. It mentions that the pull request is related to issue #4374 and explains that the test cases cover various aspects of MySQL DDL compatibility. However, the body could be improved by providing more specific details about the test cases and their purpose. ChangesThe changes made in the pull request are focused on adding a new test case file ( Problems
Suggestions
OptimizationTo optimize the changes made in the pull request, consider the following suggestions:
Here are review comments for file test/distributed/cases/ddl/mysql_ddl_2.sql: Review:TitleThe title of the pull request is clear and concise. It accurately describes the purpose of the changes made in the pull request. BodyThe body of the pull request provides some context and explanation for the changes made. It includes a checklist for the type of pull request, a reference to the issue being fixed, and a description of what the pull request does and why it is needed. However, the body could be improved by providing more specific details about the changes made and their impact. ChangesThe changes made in the pull request are focused on adding a new test case for MySQL DDL compatibility. The changes include the addition of a new SQL file ( While the changes themselves seem to be fine, there are a few areas that could be improved:
Overall, the changes made in the pull request seem to be fine, but there are some areas that could be improved for clarity and simplicity. |
need to pass bvt tests first, fixing |
Test: add mysql ddl compability test case1: mysql_ddl_1.sql, covers comments, set variables, etc case2: mysql_ddl_2.sql, covers engine, char set, key using, lock/unlock, auto_increment, row_format, etc case3: mysql_ddl_3.sql, covers create view with definer, partition type and long sql definition, enum type, unused function, like "CONVERT , numeric type, etc case4: mysql_ddl_4.sql, covers create view within a comment sql Approved by: @heni02
Test: add mysql ddl compability test case1: mysql_ddl_1.sql, covers comments, set variables, etc case2: mysql_ddl_2.sql, covers engine, char set, key using, lock/unlock, auto_increment, row_format, etc case3: mysql_ddl_3.sql, covers create view with definer, partition type and long sql definition, enum type, unused function, like "CONVERT , numeric type, etc case4: mysql_ddl_4.sql, covers create view within a comment sql Approved by: @heni02
Test: add mysql ddl compability test case1: mysql_ddl_1.sql, covers comments, set variables, etc case2: mysql_ddl_2.sql, covers engine, char set, key using, lock/unlock, auto_increment, row_format, etc case3: mysql_ddl_3.sql, covers create view with definer, partition type and long sql definition, enum type, unused function, like "CONVERT , numeric type, etc case4: mysql_ddl_4.sql, covers create view within a comment sql Approved by: @heni02
What type of PR is this?
Which issue(s) this PR fixes:
issue #
#4374
What this PR does / why we need it:
Test: add mysql ddl compability test
case1: mysql_ddl_1.sql, covers comments, set variables, etc
case2: mysql_ddl_2.sql, covers engine, char set, key using, lock/unlock, auto_increment, row_format, etc
case3: mysql_ddl_3.sql, covers create view with definer, partition type and long sql definition, enum type, unused function, like "CONVERT , numeric type, etc
case4: mysql_ddl_4.sql, covers create view within a comment sql