[feat-opt](binlog-load) add how to open binlog load to the error message (#7138)

This commit is contained in:
xy720
2021-11-18 14:38:42 +08:00
committed by GitHub
parent 4f7d7a52bd
commit 94fa6db196

View File

@ -80,7 +80,8 @@ public class CreateDataSyncJobStmt extends DdlStmt {
dbName = ClusterNamespace.getFullName(analyzer.getClusterName(), dbName);
if (!Config.enable_create_sync_job) {
throw new AnalysisException("Mysql sync job is coming soon.");
throw new AnalysisException("Mysql sync job is disabled." +
" Set config 'enable_create_sync_job' = 'true' to enable this feature. ");
}
if (binlogDesc != null) {