diff --git a/bootstrap/sql/com.mysql.cj.jdbc.Driver/v004__create_db_connection_info.sql b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v004__create_db_connection_info.sql index 0cb97bdf149..8e05d61630b 100644 --- a/bootstrap/sql/com.mysql.cj.jdbc.Driver/v004__create_db_connection_info.sql +++ b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v004__create_db_connection_info.sql @@ -12,6 +12,10 @@ UPDATE dbservice_entity SET json = JSON_REMOVE(json, '$.connection.config.connectionOptions') WHERE serviceType = 'DeltaLake'; +UPDATE dbservice_entity +SET json = JSON_REMOVE(json, '$.connection.config.supportsProfiler') +WHERE serviceType = 'DeltaLake'; + UPDATE dashboard_service_entity SET json = JSON_INSERT( JSON_REMOVE(json, '$.connection.config.username'), diff --git a/bootstrap/sql/org.postgresql.Driver/v004__create_db_connection_info.sql b/bootstrap/sql/org.postgresql.Driver/v004__create_db_connection_info.sql index 9286f54632c..ddaaa078698 100644 --- a/bootstrap/sql/org.postgresql.Driver/v004__create_db_connection_info.sql +++ b/bootstrap/sql/org.postgresql.Driver/v004__create_db_connection_info.sql @@ -12,6 +12,10 @@ UPDATE dbservice_entity SET json = json::jsonb #- '{connection,config,connectionOptions}' where serviceType = 'DeltaLake'; +UPDATE dbservice_entity +SET json = json::jsonb #- '{connection,config,supportsProfiler}' +where serviceType = 'DeltaLake'; + UPDATE dashboard_service_entity SET json = jsonb_set(json, '{connection,config,clientId}', json#>'{connection,config,username}') WHERE serviceType = 'Looker' diff --git a/catalog-rest-service/src/main/resources/json/schema/entity/services/connections/database/deltaLakeConnection.json b/catalog-rest-service/src/main/resources/json/schema/entity/services/connections/database/deltaLakeConnection.json index 9cee97ac6a9..4f663f60e39 100644 --- a/catalog-rest-service/src/main/resources/json/schema/entity/services/connections/database/deltaLakeConnection.json +++ b/catalog-rest-service/src/main/resources/json/schema/entity/services/connections/database/deltaLakeConnection.json @@ -43,10 +43,6 @@ "supportsMetadataExtraction": { "title": "Supports Metadata Extraction", "$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction" - }, - "supportsProfiler": { - "title": "Supports Profiler", - "$ref": "../connectionBasicType.json#/definitions/supportsProfiler" } }, "additionalProperties": false