strongduanmu commented on code in PR #22390:
URL: https://github.com/apache/shardingsphere/pull/22390#discussion_r1031978446


##########
features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/EncryptAlterTableTokenGenerator.java:
##########
@@ -291,6 +303,9 @@ private Collection<SQLToken> getDropColumnTokens(final 
String tableName, final S
         result.add(new EncryptAlterTableToken(columnSegment.getStopIndex() + 
1, columnSegment.getStopIndex(), encryptRule.getCipherColumn(tableName, 
columnName), null));
         encryptRule.findAssistedQueryColumn(tableName, 
columnName).map(optional -> new 
EncryptAlterTableToken(dropColumnDefinitionSegment.getStopIndex() + 1,
                 dropColumnDefinitionSegment.getStopIndex(), optional, ", DROP 
COLUMN")).ifPresent(result::add);
+        encryptRule.findLikeQueryColumn(tableName, columnName).map(optional -> 
new EncryptAlterTableToken(dropColumnDefinitionSegment.getStopIndex() + 1,
+                dropColumnDefinitionSegment.getStopIndex(), optional, ", DROP 
COLUMN")).ifPresent(result::add);
+        

Review Comment:
   Please remove this useless blank line.



-- 
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