mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-29 18:58:05 +08:00
fix: execute sql error: datasource plugin 'doris' is not found。 (#15123)
Co-authored-by: xiangzihao <460888207@qq.com>
This commit is contained in:
parent
d675d32771
commit
5e135ba041
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user