fix: execute sql error: datasource plugin 'doris' is not found。 (#15123)

Co-authored-by: xiangzihao <460888207@qq.com>
This commit is contained in:
Xinxing 2023-11-07 14:37:07 +08:00 committed by GitHub
parent d675d32771
commit 5e135ba041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,11 @@ package org.apache.dolphinscheduler.plugin.doris;
import org.apache.dolphinscheduler.spi.datasource.DataSourceChannel;
import org.apache.dolphinscheduler.spi.datasource.DataSourceChannelFactory;
import org.apache.dolphinscheduler.spi.enums.DbType;
import com.google.auto.service.AutoService;
@AutoService(DataSourceChannelFactory.class)
public class DorisDataSourceChannelFactory implements DataSourceChannelFactory {
@Override
@ -28,6 +32,6 @@ public class DorisDataSourceChannelFactory implements DataSourceChannelFactory {
@Override
public String getName() {
return "doris";
return DbType.DORIS.getDescp();
}
}