Browse Source

BI-108526 BI-111537 feat:添加trino tdsql数据连接

feature/x
Aries.lsy 2 years ago
parent
commit
08c8df4012
  1. 23
      src/modules/constants/constant.ts

23
src/modules/constants/constant.ts

@ -692,6 +692,29 @@ export const DATA_BASE_TYPES = [
'org.sqlite.JDBC': 'jdbc:sqlite:[PATH_TO_DB_FILES]',
},
},
{
text: 'trino',
databaseType: 'trino',
driver: 'io.trino.jdbc.TrinoDriver',
url: 'jdbc:trino://hostname:port/database',
commonly: false,
internal: true,
type: 'jdbc',
hasSchema: true,
kerberos: false,
},
{
text: BI.i18nText('Dec-Dcm_Connection_TDSQL'),
databaseType: 'tdsql',
driver: 'org.postgresql.Driver',
url: 'jdbc:postgresql://hostname:port/database',
commonly: false,
internal: true,
type: 'jdbc',
hasSchema: true,
kerberos: false,
fetchSize: 10000,
}
];

Loading…
Cancel
Save