diff --git a/docs/pages/product/workspace/sql-runner.mdx b/docs/pages/product/workspace/sql-runner.mdx index eda6a5e87680b..5ad5079b9802e 100644 --- a/docs/pages/product/workspace/sql-runner.mdx +++ b/docs/pages/product/workspace/sql-runner.mdx @@ -35,13 +35,22 @@ and click ▶ Run. The query results will be displayed under src="https://ucarecdn.com/2f910abf-5b94-43cd-87f8-14c86bd98f77/" /> -## Querying a data source vs Cube Store +## Querying data sources -The SQL Runner can run queries against any configured data sources, which is -helpful for diagnosing database-specific issues. It can also run queries against -Cube Store, which is useful for testing pre-aggregations directly to see if they -return expected results. You can switch data source(s) by clicking the dropdown -under **Data Source**: +SQL Runner can run queries against configured data sources, which is +helpful for diagnosing database-specific issues. + + + +In order for an additional data source to show up in SQL Runner, it needs to be +the [data source][ref-cube-datasource] in at least one cube definition. + + + +It can also run queries against Cube Store, which is useful for testing +pre-aggregations directly to see if they return expected results. + +You can switch data source(s) by clicking the dropdown under Data Source: + [cubecloud-signup]: https://cubecloud.dev/auth/signup [ref-conf-scheduled-refresh-ctx]: /reference/configuration/config#scheduledrefreshcontexts +[ref-cube-datasource]: /reference/data-model/cube#data_source \ No newline at end of file