You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2023/06/07 09:15:08 UTC

[GitHub] [shardingsphere] strongduanmu commented on a diff in pull request #26092: Exclude dual when validate if a table exist. (#26091)

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


##########
infra/context/src/main/java/org/apache/shardingsphere/infra/connection/validator/ShardingSphereMetaDataValidateUtils.java:
##########
@@ -25,13 +26,17 @@
 import org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase;
 import org.apache.shardingsphere.infra.metadata.database.schema.model.ShardingSphereSchema;
 
+import java.util.List;
+
 /**
  * ShardingSphere meta data validate utility class.
  */
 // TODO consider add common ShardingSphereMetaDataValidateEngine for all features
 @NoArgsConstructor(access = AccessLevel.PRIVATE)
 public final class ShardingSphereMetaDataValidateUtils {
     
+    public static final List<String> EXCLUDE_VALIDATE_TABLE = Lists.newArrayList("DUAL");

Review Comment:
   Please use set to replace arraylist.



-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org