feat: support ClickHouse datasource

This commit is contained in:
junjun
2025-08-14 17:58:01 +08:00
parent e1e482e269
commit f586aec67f
8 changed files with 37 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

+3
View File
@@ -3,6 +3,7 @@ import excel from '@/assets/datasource/icon_excel.png'
import oracle from '@/assets/datasource/icon_oracle.png'
import pg from '@/assets/datasource/icon_PostgreSQL.png'
import sqlServer from '@/assets/datasource/icon_SQL_Server.png'
import ck from '@/assets/datasource/icon_ck.png'
import { i18n } from '@/i18n'
const t = i18n.global.t
@@ -12,6 +13,7 @@ export const dsType = [
{ label: 'Oracle', value: 'oracle' },
{ label: 'PostgreSQL', value: 'pg' },
{ label: 'SQL Server', value: 'sqlServer' },
{ label: 'ClickHouse', value: 'ck' },
]
export const dsTypeWithImg = [
@@ -20,6 +22,7 @@ export const dsTypeWithImg = [
{ name: 'Oracle', type: 'oracle', img: oracle },
{ name: 'PostgreSQL', type: 'pg', img: pg },
{ name: 'SQL Server', type: 'sqlServer', img: sqlServer },
{ name: 'ClickHouse', type: 'ck', img: ck },
]
export const haveSchema = ['sqlServer', 'pg', 'oracle']