Skip to content

Commit adee42d

Browse files
committed
docs: dashboard scheduled refreshes and snowflake semantic views
1 parent fb3e827 commit adee42d

4 files changed

Lines changed: 67 additions & 0 deletions

File tree

docs/pages/product/apis-integrations/_meta.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
"microsoft-excel": "Cube Cloud for Excel",
77
"google-sheets": "Cube Cloud for Sheets",
88
"semantic-layer-sync": "Semantic Layer Sync",
9+
"snowflake-semantic-views": "Snowflake Semantic Views",
910
"javascript-sdk": "JavaScript SDK",
1011
"recipes": "Recipes"
1112
};
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Snowflake Semantic Views Integration
2+
3+
<InfoBox>
4+
5+
Snowflake Semantic Views integration is available in Cube on the [Enterprise plan](https://cube.dev/pricing).
6+
7+
</InfoBox>
8+
9+
Cube supports bi-directional integration with Snowflake Semantic Views. This integration enables you to author views in Cube and use them in Snowflake, or work with Snowflake semantic views directly in Cube. This ensures consistency between your Cube definitions and Snowflake's semantic layer, allowing teams to work in their preferred environment.
10+
11+
## Overview
12+
13+
The Snowflake Semantic Views integration provides two-way synchronization between Cube and Snowflake:
14+
15+
- **Pull integration**: Pull semantic views from Snowflake and turn them into cubes and views in Cube
16+
- **Push integration**: Push Cube views into Snowflake as native semantic views
17+
18+
This bi-directional approach ensures that your semantic layer definitions remain consistent across both platforms, regardless of where they are authored.
19+
20+
## Pull Integration
21+
22+
From the IDE, users can pull semantic views from Snowflake and turn them into cubes and views in Cube. The pull integration generates code files with cube and view definitions in your Cube repository, making it easy to work with existing Snowflake semantic views.
23+
24+
### How it works
25+
26+
1. Connect to your Snowflake account from the Cube IDE
27+
2. Browse available semantic views in Snowflake
28+
3. Select the semantic views you want to import
29+
4. Cube generates the corresponding cube and view definitions
30+
5. The generated code files are added to your Cube repository
31+
32+
This allows you to leverage existing Snowflake semantic views in Cube without manual conversion, ensuring consistency between your Snowflake and Cube definitions.
33+
34+
## Push Integration
35+
36+
Alternatively, you can push Cube views into Snowflake as native semantic views. The push integration creates DDL from Cube's definitions and executes it in Snowflake, creating Snowflake Semantic Views that match your Cube schema.
37+
38+
### How it works
39+
40+
1. Select Cube views you want to push to Snowflake
41+
2. Cube generates DDL statements from your Cube view definitions
42+
3. The DDL is executed in your Snowflake account
43+
4. Native Snowflake Semantic Views are created matching your Cube schema
44+
45+
This enables you to use Cube-authored views directly in Snowflake, maintaining consistency across both platforms.
46+
47+
## Benefits
48+
49+
The Snowflake Semantic Views integration provides several advantages:
50+
51+
- **Consistency**: Keep your semantic layer definitions synchronized between Cube and Snowflake
52+
- **Flexibility**: Work in your preferred environment—author in Cube or Snowflake
53+
- **Efficiency**: Automatically generate definitions without manual conversion
54+
- **Collaboration**: Enable teams to work in their preferred tools while maintaining consistency
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
"dashboards": "Dashboards",
3+
"scheduled-refreshes": "Scheduled Refreshes",
34
"embedding": "Embedding"
45
}
56

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Scheduled Refreshes
2+
3+
<InfoBox>
4+
Scheduled refreshes are available on [Premium and Enterprise plans](https://cube.dev/pricing).
5+
</InfoBox>
6+
7+
You can set up Cube dashboards to automatically update on a schedule. When a scheduled refresh is triggered, the widgets on the dashboard are queried in the background, refreshing Cube's in-memory cache. This warms up dashboards so they load instantly when users open them, eliminating wait times for data to load.
8+
9+
## Accessing scheduled refreshes
10+
11+
Access scheduled refreshes from the dashboard builder or published dashboard by clicking the calendar icon, which opens the scheduled refreshes sidebar. From this sidebar, you can create new schedules, modify existing ones, or remove schedules you no longer need.

0 commit comments

Comments
 (0)