mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 14:06:59 +00:00
Add location migration queries (#11030)
* Add location migration queries * add missing mode * Added impala auth modes --------- Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
This commit is contained in:
parent
4c9690b0c2
commit
4da9aa4984
@ -149,6 +149,8 @@ WHERE jsonSchema = 'pipelineStatus' AND extension <> 'pipeline.PipelineStatus';
|
|||||||
|
|
||||||
-- We are refactoring the storage service with containers. We'll remove the locations
|
-- We are refactoring the storage service with containers. We'll remove the locations
|
||||||
DROP TABLE location_entity;
|
DROP TABLE location_entity;
|
||||||
|
DELETE FROM entity_relationship WHERE fromEntity='location' OR toEntity='location';
|
||||||
|
TRUNCATE TABLE storage_service_entity;
|
||||||
|
|
||||||
UPDATE dbservice_entity
|
UPDATE dbservice_entity
|
||||||
SET json = JSON_REMOVE(json, '$.connection.config.storageServiceName')
|
SET json = JSON_REMOVE(json, '$.connection.config.storageServiceName')
|
||||||
|
@ -153,6 +153,8 @@ WHERE jsonSchema = 'pipelineStatus' AND extension <> 'pipeline.PipelineStatus';
|
|||||||
|
|
||||||
-- We are refactoring the storage service with containers. We'll remove the locations
|
-- We are refactoring the storage service with containers. We'll remove the locations
|
||||||
DROP TABLE location_entity;
|
DROP TABLE location_entity;
|
||||||
|
DELETE FROM entity_relationship WHERE fromEntity='location' OR toEntity='location';
|
||||||
|
TRUNCATE TABLE storage_service_entity;
|
||||||
|
|
||||||
UPDATE dbservice_entity
|
UPDATE dbservice_entity
|
||||||
SET json = json::jsonb #- '{connection,config,storageServiceName}'
|
SET json = json::jsonb #- '{connection,config,storageServiceName}'
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
"title": "Authentication Mode",
|
"title": "Authentication Mode",
|
||||||
"description": "Authentication mode to connect to hive.",
|
"description": "Authentication mode to connect to hive.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["NONE", "LDAP", "KERBEROS", "CUSTOM", "NOSASL", "BASIC"],
|
"enum": ["NONE", "LDAP", "KERBEROS", "CUSTOM", "NOSASL", "BASIC", "GSSAPI", "JWT", "PLAIN"],
|
||||||
"default": "NONE"
|
"default": "NONE"
|
||||||
},
|
},
|
||||||
"kerberosServiceName": {
|
"kerberosServiceName": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user