TeslaCN commented on code in PR #25906:
URL: https://github.com/apache/shardingsphere/pull/25906#discussion_r1206257016


##########
parser/sql/statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/statement/mysql/ddl/MySQLAlterTableStatement.java:
##########
@@ -17,11 +17,21 @@
 
 package org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.ddl;
 
+import lombok.Getter;
+import lombok.Setter;
+import 
org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.table.AlgorithmTypeSegment;
+import 
org.apache.shardingsphere.sql.parser.sql.common.segment.ddl.table.LockTableSegment;
 import 
org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.AlterTableStatement;
 import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.MySQLStatement;
 
 /**
  * MySQL alter table statement.
  */
+@Getter
+@Setter
 public final class MySQLAlterTableStatement extends AlterTableStatement 
implements MySQLStatement {
+    
+    private AlgorithmTypeSegment algorithmSegment;
+    
+    private LockTableSegment lockTableSegment;

Review Comment:
   Please remove the `@Getter` annotation, and add `Optional` getter method for 
them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to