Browse Source

Pull request #5739: BI-108526 BI-111537 feat:添加trino tdsql数据连接

Merge in DEC/decision-webui-dcm from ~ARIES.LSY/decision-webui-dcm:bugfix/10.0 to bugfix/10.0

* commit '65f48022e3103e597d0f7d86c9fca86995e1a20d':
  BI-108526 BI-111537 feat:添加trino tdsql数据连接
bugfix/10.0
Aries.Lsy 2 years ago
parent
commit
7c784d0160
  1. 23
      src/modules/constants/constant.ts

23
src/modules/constants/constant.ts

@ -670,6 +670,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