mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-07-23 05:37:11 +08:00
✨ feat(trino): 新增 Trino 可选驱动接入并补齐查询支持
- 后端新增 Trino 数据库实现与 optional driver-agent provider - 前端补齐 catalog.schema 连接配置、URI 解析与能力开关 - SQL 编辑器对 Trino 禁用托管事务并补充前后端测试
This commit is contained in:
@@ -58,6 +58,19 @@ describe('dataSourceCapabilities', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('treats Trino as an editable SQL datasource without database-level DDL shortcuts', () => {
|
||||
expect(getDataSourceCapabilities({ type: 'trino' })).toMatchObject({
|
||||
type: 'trino',
|
||||
supportsQueryEditor: true,
|
||||
supportsSqlQueryExport: true,
|
||||
supportsCopyInsert: true,
|
||||
supportsCreateDatabase: false,
|
||||
supportsRenameDatabase: false,
|
||||
supportsDropDatabase: false,
|
||||
forceReadOnlyQueryResult: false,
|
||||
});
|
||||
});
|
||||
|
||||
it('keeps InterSystems IRIS as an editable SQL datasource capability', () => {
|
||||
expect(getDataSourceCapabilities({ type: 'iris' })).toMatchObject({
|
||||
type: 'iris',
|
||||
|
||||
Reference in New Issue
Block a user