2025-04-30 14:57:20 +05:30
|
|
|
UPDATE test_definition
|
|
|
|
SET json = JSON_ARRAY_INSERT(
|
|
|
|
json,
|
|
|
|
'$.parameterDefinition[2]',
|
|
|
|
JSON_OBJECT(
|
|
|
|
'name', 'operator',
|
|
|
|
'displayName', 'Operator',
|
|
|
|
'description', 'Operator to use to compare the result of the custom SQL query to the threshold.',
|
|
|
|
'dataType', 'STRING',
|
|
|
|
'required', false,
|
|
|
|
'optionValues', JSON_ARRAY('==', '>', '>=', '<', '<=', '!=')
|
|
|
|
)
|
|
|
|
)
|
|
|
|
WHERE NOT JSON_CONTAINS(
|
|
|
|
JSON_EXTRACT(json, '$.parameterDefinition[*].name'),
|
|
|
|
JSON_QUOTE('operator')
|
|
|
|
) AND name = 'tableCustomSQLQuery';
|
|
|
|
|
2025-05-15 17:48:39 +05:30
|
|
|
UPDATE dashboard_service_entity
|
|
|
|
SET json = JSON_REMOVE(
|
|
|
|
json,
|
|
|
|
'$.connection.config.siteUrl',
|
|
|
|
'$.connection.config.apiVersion',
|
|
|
|
'$.connection.config.env'
|
|
|
|
)
|
|
|
|
WHERE serviceType = 'Tableau';
|
2025-05-19 10:54:57 +02:00
|
|
|
|
|
|
|
-- Add runtime: enabled for AutoPilot
|
|
|
|
UPDATE apps_marketplace
|
|
|
|
SET json = JSON_SET(
|
|
|
|
json,
|
|
|
|
'$.runtime.enabled',
|
|
|
|
true
|
|
|
|
)
|
2025-05-20 08:02:02 +02:00
|
|
|
WHERE name = 'AutoPilotApplication';
|
2025-05-21 16:22:28 +02:00
|
|
|
|
|
|
|
-- Update workflow settings with default values if present
|
|
|
|
UPDATE openmetadata_settings
|
|
|
|
SET json = JSON_SET(
|
|
|
|
json,
|
|
|
|
'$.executorConfiguration.corePoolSize', 10,
|
|
|
|
'$.executorConfiguration.maxPoolSize', 20,
|
|
|
|
'$.executorConfiguration.jobLockTimeInMillis', 1296000000
|
|
|
|
)
|
|
|
|
WHERE configType = 'workflowSettings';
|