diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/automations/response/queryRunnerResponse.json b/openmetadata-spec/src/main/resources/json/schema/entity/automations/response/queryRunnerResponse.json index c8194561829..5d797fa37b4 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/automations/response/queryRunnerResponse.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/automations/response/queryRunnerResponse.json @@ -37,6 +37,10 @@ "results": { "description": "Results of the query execution", "$ref": "../../data/table.json#/definitions/tableData" + }, + "executedQuery": { + "description": "The actual query that was executed (may be transpiled or modified from the original)", + "type": "string" } }, "additionalProperties": false diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/response/queryRunnerResponse.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/response/queryRunnerResponse.ts index 50ce77fcf6a..a4a8f31dff6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/response/queryRunnerResponse.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/response/queryRunnerResponse.ts @@ -22,6 +22,10 @@ export interface QueryRunnerResponse { * Detailed error log in case of failure */ errorLog?: string; + /** + * The actual query that was executed (may be transpiled or modified from the original) + */ + executedQuery?: string; /** * Error message in case of failure */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts index 9c04784a745..e8c279dfc6c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts @@ -4799,6 +4799,10 @@ export interface TestConnectionResult { * Detailed error log in case of failure */ errorLog?: string; + /** + * The actual query that was executed (may be transpiled or modified from the original) + */ + executedQuery?: string; } export interface ReverseIngestionOperationResult {