diff --git a/docs/content/Workspace/Developer-Playground.mdx b/docs/content/Workspace/Developer-Playground.mdx index fa618e65f1403..785dbe1fb2acc 100644 --- a/docs/content/Workspace/Developer-Playground.mdx +++ b/docs/content/Workspace/Developer-Playground.mdx @@ -76,6 +76,15 @@ Security Context: You can paste in an existing JWT if desired; or create a brand-new one by providing a JSON object that represents the decoded JWT. +## Executing generated SQL + +To see the SQL generated by a query, click Generated SQL: + + + +If you're using Cube Cloud, you can copy this SQL and run it in your data source +using the [SQL Runner][ref-workspace-sqlrunner]. + ## Using the Rollup Designer The Rollup Designer provides an easy way to create and edit @@ -118,3 +127,4 @@ model. You can then run the query again to see the results: [ref-preaggs-ref-partitiongranularity]: /schema/reference/pre-aggregations#parameters-partition-granularity [ref-preaggs-ref-indexes]: /schema/reference/pre-aggregations#parameters-indexes +[ref-workspace-sqlrunner]: /cloud/sql-runner diff --git a/docs/content/Workspace/Inspecting-Queries.mdx b/docs/content/Workspace/Inspecting-Queries.mdx index 780a3ad54513b..3c59a6147b4de 100644 --- a/docs/content/Workspace/Inspecting-Queries.mdx +++ b/docs/content/Workspace/Inspecting-Queries.mdx @@ -113,6 +113,14 @@ pre-aggregation: +You can also run the SQL query directly against your data source using the [SQL +Runner][ref-workspace-sqlrunner] by clicking ▶️: + + + ### <--{"id" : "Inspecting API Queries"}--> Pre-Aggregations The Pre-Aggregations tab shows the @@ -186,3 +194,4 @@ while the query is in the query execution queue: [ref-conf-db]: /config/databases [ref-deployment-api-instance]: /deployment/overview#api-instances [ref-deployment-refresh-worker]: /deployment/overview#refresh-worker +[ref-workspace-sqlrunner]: /cloud/sql-runner