You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have completed the rule in DALStatement.g4.
But have not yet implement the visit method in shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDALStatementSQLVisitor.java
To complete this issue, I think we should complete these steps:
complete MySQLCacheIndexStatement class in this package org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.dal
Add rule in shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
Implement the visit method in shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDALStatementSQLVisitor.java.
Finally, add test for parse clone statement in shardingsphere-test module
Hi community,
This issue can be a good first try.
Aim
support parse mysql administration statements sql
CACHE INDEX
https://dev.mysql.com/doc/refman/8.0/en/cache-index.html
Basic Qualifications
Detail
We have completed the rule in DALStatement.g4.
But have not yet implement the visit method in
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDALStatementSQLVisitor.java
To complete this issue, I think we should complete these steps:
MySQLCacheIndexStatement
class in this packageorg.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.dal
shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDALStatementSQLVisitor.java
.shardingsphere-test
moduleExample FYI
The text was updated successfully, but these errors were encountered: