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:
Pere Miquel Brull 2023-04-13 18:05:44 +02:00 committed by GitHub
parent 4c9690b0c2
commit 4da9aa4984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -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')

View File

@ -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}'

View File

@ -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": {