Skip to content

Commit d7cbc2b

Browse files
committed
docs: Clarify data source detection in the SQL Runner
1 parent 8ff25d0 commit d7cbc2b

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

docs/pages/product/workspace/sql-runner.mdx

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,22 @@ and click <Btn>▶ Run</Btn>. The query results will be displayed under
3535
src="https://ucarecdn.com/2f910abf-5b94-43cd-87f8-14c86bd98f77/"
3636
/>
3737

38-
## Querying a data source vs Cube Store
38+
## Querying data sources
3939

40-
The SQL Runner can run queries against any configured data sources, which is
41-
helpful for diagnosing database-specific issues. It can also run queries against
42-
Cube Store, which is useful for testing pre-aggregations directly to see if they
43-
return expected results. You can switch data source(s) by clicking the dropdown
44-
under **Data Source**:
40+
SQL Runner can run queries against configured data sources, which is
41+
helpful for diagnosing database-specific issues.
42+
43+
<InfoBox>
44+
45+
In order for an additional data source to show up in SQL Runner, it needs to be
46+
the [data source][ref-cube-datasource] in at least one cube definition.
47+
48+
</InfoBox>
49+
50+
It can also run queries against Cube Store, which is useful for testing
51+
pre-aggregations directly to see if they return expected results.
52+
53+
You can switch data source(s) by clicking the dropdown under <Btn>Data Source</Btn>:
4554

4655
<Screenshot
4756
highlight="inset(25% 60% 53% 6% round 10px)"
@@ -97,6 +106,8 @@ in a data model should be a `numeric`).
97106
src="https://ucarecdn.com/c2735f7c-d5e7-4b6b-903b-8d0db07b668e/"
98107
/>
99108

109+
100110
[cubecloud-signup]: https://cubecloud.dev/auth/signup
101111
[ref-conf-scheduled-refresh-ctx]:
102112
/reference/configuration/config#scheduledrefreshcontexts
113+
[ref-cube-datasource]: /reference/data-model/cube#data_source

0 commit comments

Comments
 (0)