mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 19:48:17 +00:00
[GEN-970] added supportsSystemProfile to connector (#18203)
* added supportsSystemProfile to connector * reverted unintended changes * added supportsSystemProfile for bigquery
This commit is contained in:
parent
edf386d2a5
commit
d0fb5137af
@ -48,3 +48,9 @@ ALTER TABLE apps_extension_time_series ADD COLUMN appName VARCHAR(256) GENERATED
|
||||
UPDATE dbservice_entity
|
||||
SET json = JSON_SET(json, '$.connection.config.supportsDataDiff', 'true')
|
||||
WHERE serviceType IN ('Athena','BigQuery','Mssql','Mysql','Oracle','Postgres','Redshift','SapHana','Snowflake','Trino');
|
||||
|
||||
|
||||
-- Add supportsSystemProfile for Snowflake, Redshift, and BigQuery
|
||||
update dbservice_entity
|
||||
set json = JSON_SET(json, '$.connection.config.supportsSystemProfile', true)
|
||||
where serviceType in ('Snowflake', 'Redshift', 'BigQuery');
|
||||
|
||||
@ -65,3 +65,8 @@ ALTER TABLE apps_extension_time_series ADD COLUMN appName VARCHAR(256) GENERATED
|
||||
UPDATE dbservice_entity
|
||||
SET json = jsonb_set(json::jsonb, '{connection,config,supportsDataDiff}', 'true'::jsonb)
|
||||
WHERE serviceType IN ('Athena','BigQuery','Mssql','Mysql','Oracle','Postgres','Redshift','SapHana','Snowflake','Trino');
|
||||
|
||||
-- Add supportsSystemProfile for Snowflake, Redshift, and BigQuery
|
||||
UPDATE dbservice_entity
|
||||
SET json = jsonb_set(json::jsonb, '{connection,config,supportsSystemProfile}', 'true'::jsonb)
|
||||
WHERE serviceType IN ('Snowflake', 'Redshift', 'BigQuery');
|
||||
|
||||
@ -50,6 +50,11 @@
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"supportsSystemProfile": {
|
||||
"description": "The source database supports system profiles for tables such as last update.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"supportsDataInsightExtraction": {
|
||||
"description": "Support Metadata To Elastic Search",
|
||||
"type": "boolean",
|
||||
|
||||
@ -101,6 +101,10 @@
|
||||
"title": "Supports Query Comment",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsQueryComment"
|
||||
},
|
||||
"supportsSystemProfile": {
|
||||
"title": "Supports System Profile",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsSystemProfile"
|
||||
},
|
||||
"sampleDataStorageConfig": {
|
||||
"title": "Storage Config for Sample Data",
|
||||
"$ref": "../connectionBasicType.json#/definitions/sampleDataStorageConfig"
|
||||
|
||||
@ -102,6 +102,10 @@
|
||||
"title": "Supports Query Comment",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsQueryComment"
|
||||
},
|
||||
"supportsSystemProfile": {
|
||||
"title": "Supports System Profile",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsSystemProfile"
|
||||
},
|
||||
"sampleDataStorageConfig": {
|
||||
"title": "Storage Config for Sample Data",
|
||||
"$ref": "../connectionBasicType.json#/definitions/sampleDataStorageConfig"
|
||||
|
||||
@ -125,6 +125,10 @@
|
||||
"title": "Supports Query Comment",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsQueryComment"
|
||||
},
|
||||
"supportsSystemProfile": {
|
||||
"title": "Supports System Profile",
|
||||
"$ref": "../connectionBasicType.json#/definitions/supportsSystemProfile"
|
||||
},
|
||||
"sampleDataStorageConfig": {
|
||||
"title": "Storage Config for Sample Data",
|
||||
"$ref": "../connectionBasicType.json#/definitions/sampleDataStorageConfig"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user