sandynz commented on code in PR #30339:
URL: https://github.com/apache/shardingsphere/pull/30339#discussion_r1505608627
##########
kernel/data-pipeline/distsql/handler/src/main/java/org/apache/shardingsphere/data/pipeline/migration/distsql/handler/update/MigrateTableExecutor.java:
##########
@@ -41,6 +42,8 @@ public final class MigrateTableExecutor implements
DistSQLUpdateExecutor<Migrate
@Override
public void executeUpdate(final MigrateTableStatement sqlStatement, final
ContextManager contextManager) {
+ String modeType =
contextManager.getInstanceContext().getModeConfiguration().getType();
+ ShardingSpherePreconditions.checkState(!"Standalone".equals(modeType),
() -> new PipelineInvalidParameterException("Unsupported mode type of
`Standalone`"));
Review Comment:
Could we just check `Cluster` mode? Only `Cluster` is supported for now
--
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]