mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
(improvement)(chat) Extend support for PostgreSQL data source. (#635)
This commit is contained in:
@@ -40,7 +40,9 @@ public enum DataType {
|
||||
|
||||
IMPALA("impala", "impala", "com.cloudera.impala.jdbc41.Driver", "", "", "'", "'"),
|
||||
|
||||
TDENGINE("TAOS", "TAOS", "com.taosdata.jdbc.TSDBDriver", "'", "'", "\"", "\"");
|
||||
TDENGINE("TAOS", "TAOS", "com.taosdata.jdbc.TSDBDriver", "'", "'", "\"", "\""),
|
||||
|
||||
POSTGRESQL("postgresql", "postgresql", "org.postgresql.Driver", "'", "'", "\"", "\"");
|
||||
|
||||
private String feature;
|
||||
private String desc;
|
||||
|
||||
@@ -8,7 +8,8 @@ public enum EngineType {
|
||||
DORIS(2, "doris"),
|
||||
CLICKHOUSE(3, "clickhouse"),
|
||||
KAFKA(4, "kafka"),
|
||||
H2(5, "h2");
|
||||
H2(5, "h2"),
|
||||
POSTGRESQL(6, "postgresql");
|
||||
|
||||
|
||||
private Integer code;
|
||||
|
||||
@@ -30,6 +30,7 @@ public class DatabaseReq {
|
||||
|
||||
private String description;
|
||||
|
||||
private String schema;
|
||||
private String url;
|
||||
|
||||
private List<String> admins = Lists.newArrayList();
|
||||
|
||||
@@ -40,6 +40,8 @@ public class DatabaseResp extends RecordInfo {
|
||||
|
||||
private String version;
|
||||
|
||||
private String schema;
|
||||
|
||||
private boolean hasPermission = false;
|
||||
|
||||
private boolean hasUsePermission = false;
|
||||
|
||||
Reference in New Issue
Block a user