Browse Source

Fix missing Kyuubi type in UI (#15051)

3.2.1-prepare
He Zhao 1 year ago committed by GitHub
parent
commit
f0f12c9fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/service/modules/data-source/types.ts
  2. 5
      dolphinscheduler-ui/src/views/datasource/list/use-form.ts

2
dolphinscheduler-ui/src/service/modules/data-source/types.ts

@ -38,6 +38,7 @@ type IDataBase =
| 'SNOWFLAKE' | 'SNOWFLAKE'
| 'HANA' | 'HANA'
| 'DORIS' | 'DORIS'
| 'KYUUBI'
type IDataBaseLabel = type IDataBaseLabel =
| 'MYSQL' | 'MYSQL'
@ -57,6 +58,7 @@ type IDataBaseLabel =
| 'DAMENG' | 'DAMENG'
| 'OCEANBASE' | 'OCEANBASE'
| 'SSH' | 'SSH'
| 'KYUUBI'
interface IDataSource { interface IDataSource {
id?: number id?: number

5
dolphinscheduler-ui/src/views/datasource/list/use-form.ts

@ -312,6 +312,11 @@ export const datasourceType: IDataBaseOptionKeys = {
label: 'HIVE/IMPALA', label: 'HIVE/IMPALA',
defaultPort: 10000 defaultPort: 10000
}, },
KYUUBI: {
value: 'KYUUBI',
label: 'KYUUBI',
defaultPort: 10000
},
SPARK: { SPARK: {
value: 'SPARK', value: 'SPARK',
label: 'SPARK', label: 'SPARK',

Loading…
Cancel
Save