Browse Source

Merge pull request #5804 in DEC/decision-webui-dcm from bugfix/10.0 to release/10.0

* commit '53b1f53df3f25809b49c06749b42660b634814fa':
  BI-108526 BI-111537 feat:添加trino tdsql数据连接
release/10.0
superman 2 years ago
parent
commit
fe7d94218b
  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]', '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