From e6edd3c7608939f20f67ce77d9ec3f2ffb35d5c6 Mon Sep 17 00:00:00 2001 From: Tomas Montiel Prieto <57763803+tomasmontielp@users.noreply.github.com> Date: Wed, 1 Oct 2025 15:10:31 +0200 Subject: [PATCH] Minor - add executedQuery field (#23627) * add executedQuery field * Update generated TypeScript types * Trigger CI --------- Co-authored-by: github-actions[bot] --- .../entity/automations/response/queryRunnerResponse.json | 4 ++++ .../entity/automations/response/queryRunnerResponse.ts | 4 ++++ .../resources/ui/src/generated/entity/automations/workflow.ts | 4 ++++ 3 files changed, 12 insertions(+) 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 {