forked from github/dataease
fix(数据集): doris数据集不支持分页
This commit is contained in:
parent
2ea1bbe6f6
commit
b259e30460
@ -66,10 +66,11 @@ public class ProviderFactory implements ApplicationContextAware {
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
case "mariadb":
|
case "mariadb":
|
||||||
|
return context.getBean("mysqlQueryProvider", QueryProvider.class);
|
||||||
case "ds_doris":
|
case "ds_doris":
|
||||||
case "TiDB":
|
case "TiDB":
|
||||||
case "StarRocks":
|
case "StarRocks":
|
||||||
return context.getBean("mysqlQueryProvider", QueryProvider.class);
|
return context.getBean("dorisQueryProvider", QueryProvider.class);
|
||||||
default:
|
default:
|
||||||
return SpringContextUtil.getApplicationContext().getBean(type + "QueryProvider", QueryProvider.class);
|
return SpringContextUtil.getApplicationContext().getBean(type + "QueryProvider", QueryProvider.class);
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user