Browse Source

Merge pull request #5743 in DEC/decision-webui-dcm from bugfix/10.0 to feature/10.0

* commit '9a32d7760c028bd106b2d77f64cc83b4f0f80062':
  BI-108526 BI-111537 feat:添加trino tdsql数据连接
feature/10.0
superman 2 years ago
parent
commit
565d5068a4
  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