Browse Source

Merge pull request #5744 in DEC/decision-webui-dcm from feature/10.0 to research/10.0

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