feat(db): 添加对 Hive 数据库引擎的支持
Some checks failed
supersonic CentOS CI / build (21) (push) Has been cancelled
supersonic mac CI / build (21) (push) Has been cancelled
supersonic ubuntu CI / build (21) (push) Has been cancelled
supersonic windows CI / build (21) (push) Has been cancelled

- 在 EngineType 枚举中添加 HIVE 类型定义
This commit is contained in:
jerryjzhang
2026-05-29 12:17:57 +08:00
parent d2ae1509cb
commit c0af25fe2e
2 changed files with 3 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ public enum EngineType {
KYUUBI(11, "KYUUBI"),
PRESTO(12, "PRESTO"),
TRINO(13, "TRINO"),
ORACLE(14, "ORACLE");
ORACLE(14, "ORACLE"),
HIVE(15, "HIVE");
private Integer code;

View File

@@ -24,6 +24,7 @@ public class DbAdaptorFactory {
dbAdaptorMap.put(EngineType.TRINO.getName(), new TrinoAdaptor());
dbAdaptorMap.put(EngineType.ORACLE.getName(), new OracleAdaptor());
dbAdaptorMap.put(EngineType.TDW.getName(), new DefaultDbAdaptor());
dbAdaptorMap.put(EngineType.HIVE.getName(), new DefaultDbAdaptor());
}
public static DbAdaptor getEngineAdaptor(String engineType) {