fix(数据集): doris数据集不支持分页

This commit is contained in:
taojinlong 2022-11-30 00:10:54 +08:00
parent 2ea1bbe6f6
commit b259e30460
2 changed files with 13 additions and 1 deletions

View File

@ -66,10 +66,11 @@ public class ProviderFactory implements ApplicationContextAware {
switch (type) {
case "mysql":
case "mariadb":
return context.getBean("mysqlQueryProvider", QueryProvider.class);
case "ds_doris":
case "TiDB":
case "StarRocks":
return context.getBean("mysqlQueryProvider", QueryProvider.class);
return context.getBean("dorisQueryProvider", QueryProvider.class);
default:
return SpringContextUtil.getApplicationContext().getBean(type + "QueryProvider", QueryProvider.class);
}

View File

@ -0,0 +1,11 @@
package io.dataease.provider.query.doris;
import io.dataease.provider.query.mysql.MysqlQueryProvider;
import org.springframework.stereotype.Service;
@Service("dorisQueryProvider")
public class DorisQueryProvider extends MysqlQueryProvider {
}